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.00111/0.00111, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8667/0.8667, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.97 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1793, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.3998/0.5792, allocations: 166.8 MB / 0.7474 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.5978, allocations: 16.82 MB / 0.7638 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.5991, allocations: 31.81 kB / 0.7638 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.6005, allocations: 0.5081 MB / 0.7643 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003578/0.6041, allocations: 1.47 MB / 0.7658 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.6068, allocations: 1.272 MB / 0.767 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00214/0.609, allocations: 2.35 MB / 0.7693 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.6109, allocations: 1.888 MB / 0.7711 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002684/0.6136, allocations: 1.254 MB / 0.7724 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000829/0.6144, allocations: 0.9101 MB / 0.7732 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.6146, allocations: 192 kB / 0.7734 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.6169, allocations: 1.38 MB / 0.7748 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003937/0.6173, allocations: 0.5296 MB / 0.7753 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007179/0.618, allocations: 0.9406 MB / 0.7762 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.6208, allocations: 2.867 MB / 0.779 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6208, allocations: 0 / 0.779 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6208, allocations: 0 / 0.779 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.6208, allocations: 3.984 kB / 0.779 GB, free: 5.656 MB / 0.5919 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.002946/0.6238, allocations: 2.157 MB / 0.7811 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.6238, allocations: 12.03 kB / 0.7811 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002461/0.6241, allocations: 244.6 kB / 0.7814 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/0.6274, allocations: 0.4934 MB / 0.7818 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.6287, allocations: 1.047 MB / 0.7829 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-05/0.6288, allocations: 127.2 kB / 0.783 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.629, allocations: 163.9 kB / 0.7831 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.6317, allocations: 1.779 MB / 0.7849 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.6317, allocations: 0 / 0.7849 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.6319, allocations: 76 kB / 0.785 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.6319, allocations: 40 kB / 0.785 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.6348, allocations: 1.823 MB / 0.7868 GB, free: 13.53 MB / 0.6075 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.006473/0.6413, allocations: 5.036 MB / 0.7917 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002555/0.6439, allocations: 1.67 MB / 0.7933 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.6449, allocations: 0.6202 MB / 0.7939 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008569/0.6458, allocations: 0.8078 MB / 0.7947 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/0.6471, allocations: 0.8215 MB / 0.7955 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.706e-06/0.6471, allocations: 0 / 0.7955 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.005481/0.6526, allocations: 2.427 MB / 0.7979 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.958e-05/0.6527, allocations: 197.2 kB / 0.7981 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008776/0.6536, allocations: 0.7907 MB / 0.7989 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.871e-05/0.6537, allocations: 53.7 kB / 0.7989 GB, free: 448 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/0.6542, allocations: 0.6213 MB / 0.7995 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.6545, allocations: 461.2 kB / 0.8 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/0.6548, allocations: 222.8 kB / 0.8002 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.655, allocations: 357.8 kB / 0.8005 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008578/0.6558, allocations: 450.3 kB / 0.8009 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009744/0.6568, allocations: 0.595 MB / 0.8015 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.6587, allocations: 1.052 MB / 0.8025 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6587, allocations: 0 / 0.8025 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002971/0.6617, allocations: 1.413 MB / 0.8039 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.6617, allocations: 7.938 kB / 0.8039 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.6618, allocations: 0 / 0.8039 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008652/0.6626, allocations: 196.2 kB / 0.8041 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.664, allocations: 311.5 kB / 0.8044 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005228/0.6692, allocations: 7.267 MB / 0.8115 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.6703, allocations: 142.8 kB / 0.8116 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.732e-05/0.6704, allocations: 43.97 kB / 0.8117 GB, free: 2.512 MB / 0.6231 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.0006294/0.671, allocations: 367.3 kB / 0.812 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.6713, allocations: 122.5 kB / 0.8122 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/0.675, allocations: 1.754 MB / 0.8139 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6751, allocations: 16 kB / 0.8139 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6751, allocations: 0 / 0.8139 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.6751, allocations: 7.969 kB / 0.8139 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005227/0.6803, allocations: 3.272 MB / 0.8171 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6803, allocations: 4 kB / 0.8171 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/0.6817, allocations: 311.5 kB / 0.8174 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000712/0.6824, allocations: 180.2 kB / 0.8176 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.7e-05/0.6825, allocations: 35.97 kB / 0.8176 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005164/0.6877, allocations: 7.324 MB / 0.8247 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6877, allocations: 3.938 kB / 0.8248 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.6909, allocations: 1.609 MB / 0.8263 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/0.6914, allocations: 379.1 kB / 0.8267 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.6916, allocations: 28 kB / 0.8267 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.6926, allocations: 95.09 kB / 0.8268 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.6928, allocations: 101.2 kB / 0.8269 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.6929, allocations: 67.94 kB / 0.827 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006498/0.6936, allocations: 0.5461 MB / 0.8275 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6936, allocations: 3.938 kB / 0.8275 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001217/0.6948, allocations: 0.5492 MB / 0.828 GB, free: 0.8789 MB / 0.6387 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.004747/0.6996, allocations: 2.783 MB / 0.8308 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004241/0.7038, allocations: 2.16 MB / 0.8329 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7038, allocations: 4.797 kB / 0.8329 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.7056, allocations: 1.266 MB / 0.8341 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.7074, allocations: 0.5022 MB / 0.8346 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.7235, allocations: 10.05 MB / 0.8444 GB, free: 15.83 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007876/0.7243, allocations: 1.273 MB / 0.8457 GB, free: 14.53 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001538/0.7258, allocations: 425.8 kB / 0.8461 GB, free: 14.11 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007773/0.7266, allocations: 0.6203 MB / 0.8467 GB, free: 13.49 MB / 0.67 GB Notification: Performance of SimCode: time 4.61e-07/0.7266, allocations: 0 / 0.8467 GB, free: 13.49 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.692/5.419, allocations: 34.94 MB / 0.8808 GB, free: 214.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/20.62, allocations: 5.672 kB / 0.8808 GB, free: 214.9 MB / 0.67 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)