Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007923/0.007923, allocations: 102.2 kB / 15.73 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 196.8 kB / 16.67 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8393/0.8393, allocations: 135.6 MB / 426.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 64.12 kB / 0.5857 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1533, allocations: 81.02 MB / 0.6649 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5228/0.6761, allocations: 166.8 MB / 0.8278 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02245/0.6986, allocations: 16.83 MB / 0.8442 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.7, allocations: 29.97 kB / 0.8442 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.7016, allocations: 0.5047 MB / 0.8447 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004253/0.7058, allocations: 1.47 MB / 0.8462 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.7091, allocations: 1.27 MB / 0.8474 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003098/0.7122, allocations: 2.36 MB / 0.8497 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002457/0.7147, allocations: 1.896 MB / 0.8515 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.7185, allocations: 1.254 MB / 0.8528 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.72, allocations: 0.9002 MB / 0.8537 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002681/0.7202, allocations: 193.4 kB / 0.8538 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/0.7231, allocations: 1.421 MB / 0.8552 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005081/0.7236, allocations: 0.5262 MB / 0.8557 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.7247, allocations: 0.9374 MB / 0.8567 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004438/0.7291, allocations: 2.941 MB / 0.8595 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7291, allocations: 0 / 0.8595 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.253e-06/0.7291, allocations: 0 / 0.8595 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.205e-05/0.7292, allocations: 3.938 kB / 0.8595 GB, free: 7.145 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003773/0.733, allocations: 2.214 MB / 0.8617 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.733, allocations: 13.11 kB / 0.8617 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002945/0.7333, allocations: 244.6 kB / 0.8619 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/0.7368, allocations: 0.51 MB / 0.8624 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.7386, allocations: 1.09 MB / 0.8635 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.7388, allocations: 127.3 kB / 0.8636 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/0.7391, allocations: 163.9 kB / 0.8638 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/0.7425, allocations: 1.779 MB / 0.8655 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.7426, allocations: 0 / 0.8655 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.7428, allocations: 72 kB / 0.8656 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.7428, allocations: 40 kB / 0.8656 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003533/0.7463, allocations: 1.824 MB / 0.8674 GB, free: 14.9 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00839/0.7547, allocations: 5.002 MB / 0.8723 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.7578, allocations: 1.668 MB / 0.8739 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.7591, allocations: 0.6163 MB / 0.8745 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.7602, allocations: 0.8156 MB / 0.8753 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001602/0.7618, allocations: 0.8177 MB / 0.8761 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.916e-06/0.7618, allocations: 0 / 0.8761 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006237/0.7681, allocations: 2.44 MB / 0.8785 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.7682, allocations: 197.2 kB / 0.8787 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.7694, allocations: 0.7907 MB / 0.8795 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.7695, allocations: 53.7 kB / 0.8795 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000579/0.7701, allocations: 0.6303 MB / 0.8801 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004367/0.7705, allocations: 487.8 kB / 0.8806 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003765/0.7709, allocations: 226.8 kB / 0.8808 GB, free: 480 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.7711, allocations: 349.9 kB / 0.8811 GB, free: 124 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000972/0.7721, allocations: 446.4 kB / 0.8816 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.7732, allocations: 0.5989 MB / 0.8821 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.7754, allocations: 1.04 MB / 0.8832 GB, free: 14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.7754, allocations: 3.938 kB / 0.8832 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003412/0.7788, allocations: 1.426 MB / 0.8846 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.7788, allocations: 7.938 kB / 0.8846 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.7789, allocations: 0 / 0.8846 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009635/0.7798, allocations: 196.2 kB / 0.8848 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.7813, allocations: 307.7 kB / 0.885 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006643/0.7879, allocations: 7.296 MB / 0.8922 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.7891, allocations: 143.1 kB / 0.8923 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.7892, allocations: 43.97 kB / 0.8924 GB, free: 3.848 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007542/0.7899, allocations: 364.8 kB / 0.8927 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.7902, allocations: 131.2 kB / 0.8928 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/0.7942, allocations: 1.741 MB / 0.8945 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.7943, allocations: 16 kB / 0.8945 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7943, allocations: 0 / 0.8945 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.7943, allocations: 7.969 kB / 0.8945 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005751/0.8001, allocations: 3.269 MB / 0.8977 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.8001, allocations: 7.875 kB / 0.8977 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.8014, allocations: 303.6 kB / 0.898 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007509/0.8022, allocations: 184.1 kB / 0.8982 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.315e-05/0.8023, allocations: 39.97 kB / 0.8982 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006375/0.8087, allocations: 7.311 MB / 0.9054 GB, free: 5.656 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8087, allocations: 3.938 kB / 0.9054 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.8125, allocations: 1.623 MB / 0.907 GB, free: 3.996 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000648/0.8131, allocations: 387.8 kB / 0.9073 GB, free: 3.598 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.8133, allocations: 28 kB / 0.9074 GB, free: 3.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.8143, allocations: 87.25 kB / 0.9075 GB, free: 3.488 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.8146, allocations: 109.1 kB / 0.9076 GB, free: 3.379 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.8147, allocations: 63.95 kB / 0.9076 GB, free: 3.316 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008018/0.8155, allocations: 0.5499 MB / 0.9082 GB, free: 2.754 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8155, allocations: 0 / 0.9082 GB, free: 2.754 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001417/0.8169, allocations: 0.5571 MB / 0.9087 GB, free: 2.195 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005818/0.8228, allocations: 2.779 MB / 0.9114 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003186/0.826, allocations: 1.754 MB / 0.9131 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.826, allocations: 0.7969 kB / 0.9131 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.828, allocations: 1.266 MB / 0.9144 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.8302, allocations: 0.5094 MB / 0.9149 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/0.8481, allocations: 9.594 MB / 0.9242 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.8492, allocations: 1.273 MB / 0.9255 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001508/0.8508, allocations: 421.8 kB / 0.9259 GB, free: 456 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000928/0.8517, allocations: 0.6165 MB / 0.9265 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of SimCode: time 5.61e-07/0.8517, allocations: 0 / 0.9265 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08732/0.939, allocations: 35.31 MB / 0.961 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.87, allocations: 11.78 kB / 0.961 GB, free: 12.82 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)