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.007141/0.007141, allocations: 98.28 kB / 15.73 MB, free: 6.066 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.001829/0.001829, allocations: 195.4 kB / 16.67 MB, free: 5.973 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8253/0.8253, allocations: 135.6 MB / 426.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002528, allocations: 64.48 kB / 0.5857 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1526, allocations: 81.02 MB / 0.6649 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4865/0.6392, allocations: 166.8 MB / 0.8278 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02237/0.6616, allocations: 16.82 MB / 0.8442 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.6631, allocations: 29.59 kB / 0.8442 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.6645, allocations: 0.5087 MB / 0.8447 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004019/0.6685, allocations: 1.467 MB / 0.8461 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.6716, allocations: 1.276 MB / 0.8474 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002556/0.6742, allocations: 2.357 MB / 0.8497 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.6763, allocations: 1.901 MB / 0.8515 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/0.6797, allocations: 1.275 MB / 0.8528 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.6807, allocations: 0.8998 MB / 0.8537 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002238/0.681, allocations: 194.1 kB / 0.8539 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002553/0.6835, allocations: 1.407 MB / 0.8552 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004785/0.684, allocations: 0.5286 MB / 0.8557 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000918/0.6849, allocations: 0.9405 MB / 0.8567 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.6893, allocations: 2.938 MB / 0.8595 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6893, allocations: 0 / 0.8595 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6894, allocations: 0 / 0.8595 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.687e-05/0.6894, allocations: 0 / 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.003663/0.6931, allocations: 2.221 MB / 0.8617 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.6931, allocations: 9.109 kB / 0.8617 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002981/0.6934, allocations: 244.6 kB / 0.8619 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/0.6969, allocations: 0.5139 MB / 0.8624 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.6987, allocations: 1.087 MB / 0.8635 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.6988, allocations: 123.3 kB / 0.8636 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.699, allocations: 167.9 kB / 0.8638 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/0.7022, allocations: 1.775 MB / 0.8655 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.7022, allocations: 0 / 0.8655 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.7024, allocations: 76 kB / 0.8656 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.7025, allocations: 40 kB / 0.8656 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/0.7058, allocations: 1.823 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.007511/0.7133, allocations: 5.002 MB / 0.8723 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/0.7164, allocations: 1.664 MB / 0.8739 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.7176, allocations: 0.6202 MB / 0.8745 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009647/0.7186, allocations: 0.8078 MB / 0.8753 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001555/0.7201, allocations: 0.8139 MB / 0.8761 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.845e-06/0.7201, allocations: 0 / 0.8761 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006283/0.7264, allocations: 2.436 MB / 0.8785 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.7266, allocations: 197.2 kB / 0.8787 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.7278, allocations: 0.7907 MB / 0.8794 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.7279, allocations: 53.7 kB / 0.8795 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.7285, allocations: 0.6381 MB / 0.8801 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.7289, allocations: 487.7 kB / 0.8806 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.7293, allocations: 226.9 kB / 0.8808 GB, free: 484 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002477/0.7295, allocations: 353.9 kB / 0.8811 GB, free: 124 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.7305, allocations: 446.3 kB / 0.8816 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.7317, allocations: 0.595 MB / 0.8821 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.7339, allocations: 1.044 MB / 0.8832 GB, free: 14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7339, 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.003419/0.7373, allocations: 1.418 MB / 0.8846 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.7373, allocations: 16.03 kB / 0.8846 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.7374, allocations: 0 / 0.8846 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009641/0.7383, allocations: 184.1 kB / 0.8847 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.7398, allocations: 319.5 kB / 0.885 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006935/0.7468, allocations: 7.285 MB / 0.8922 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.7479, allocations: 143.2 kB / 0.8923 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.748, allocations: 47.95 kB / 0.8923 GB, free: 3.852 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.0007205/0.7488, allocations: 361.6 kB / 0.8927 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.7491, allocations: 135.2 kB / 0.8928 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.7532, allocations: 1.74 MB / 0.8945 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.7532, allocations: 12 kB / 0.8945 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7532, allocations: 4 kB / 0.8945 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.7532, allocations: 11.97 kB / 0.8945 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005985/0.7592, allocations: 3.257 MB / 0.8977 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.7593, allocations: 7.938 kB / 0.8977 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.7607, allocations: 307.6 kB / 0.898 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007995/0.7615, allocations: 180.2 kB / 0.8982 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.7616, allocations: 35.97 kB / 0.8982 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006794/0.7684, allocations: 7.315 MB / 0.9054 GB, free: 5.664 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.7685, allocations: 3.938 kB / 0.9054 GB, free: 5.66 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/0.7725, allocations: 1.623 MB / 0.907 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/0.7733, allocations: 391.8 kB / 0.9073 GB, free: 3.602 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.7734, allocations: 28 kB / 0.9074 GB, free: 3.574 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.7745, allocations: 90.27 kB / 0.9075 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.7748, allocations: 101.2 kB / 0.9075 GB, free: 3.391 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.7749, allocations: 71.89 kB / 0.9076 GB, free: 3.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008243/0.7758, allocations: 0.5499 MB / 0.9082 GB, free: 2.758 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7758, allocations: 0 / 0.9082 GB, free: 2.758 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001587/0.7774, allocations: 0.5532 MB / 0.9087 GB, free: 2.203 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.005947/0.7833, allocations: 2.787 MB / 0.9114 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003236/0.7866, allocations: 1.758 MB / 0.9131 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7866, allocations: 4.797 kB / 0.9131 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001993/0.7886, allocations: 1.262 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.002144/0.7907, allocations: 0.5023 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.0182/0.809, allocations: 9.588 MB / 0.9242 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/0.8101, allocations: 1.28 MB / 0.9255 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001533/0.8116, allocations: 413.8 kB / 0.9259 GB, free: 468 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.8126, allocations: 0.6242 MB / 0.9265 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of SimCode: time 8.32e-07/0.8126, allocations: 8 kB / 0.9265 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08644/0.8991, allocations: 35.29 MB / 0.9609 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.03, allocations: 10.66 kB / 0.961 GB, free: 12.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)