Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_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.004991/0.004991, allocations: 100.8 kB / 15.73 MB, free: 6.043 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.001229/0.001229, allocations: 195.8 kB / 16.67 MB, free: 5.977 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 286.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9011/0.9011, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 104.2 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1605, allocations: 86.98 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5253/0.6858, allocations: 167 MB / 0.929 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02037/0.7062, allocations: 16.95 MB / 0.9456 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.7079, allocations: 31.81 kB / 0.9456 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.7094, allocations: 0.5119 MB / 0.9461 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004798/0.7142, allocations: 1.507 MB / 0.9476 GB, free: 9 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003612/0.7178, allocations: 1.322 MB / 0.9489 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002887/0.7207, allocations: 2.49 MB / 0.9513 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.723, allocations: 1.928 MB / 0.9532 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.7264, allocations: 1.335 MB / 0.9545 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.7274, allocations: 0.9568 MB / 0.9554 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/0.7277, allocations: 208 kB / 0.9556 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.7305, allocations: 1.419 MB / 0.957 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00047/0.731, allocations: 0.5608 MB / 0.9576 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009111/0.7319, allocations: 0.995 MB / 0.9585 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003603/0.7355, allocations: 3.061 MB / 0.9615 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7355, allocations: 0 / 0.9615 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7355, allocations: 0 / 0.9615 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.966e-05/0.7356, allocations: 0 / 0.9615 GB, free: 10.71 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003543/0.7391, allocations: 2.249 MB / 0.9637 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.7392, allocations: 12.03 kB / 0.9637 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000261/0.7394, allocations: 249 kB / 0.964 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/0.7428, allocations: 0.5011 MB / 0.9644 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.7444, allocations: 1.125 MB / 0.9655 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.868e-05/0.7445, allocations: 131.3 kB / 0.9657 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.7447, allocations: 168 kB / 0.9658 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.7476, allocations: 1.843 MB / 0.9676 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.7477, allocations: 0 / 0.9676 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.7479, allocations: 80 kB / 0.9677 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.7479, allocations: 40 kB / 0.9677 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00297/0.7509, allocations: 1.875 MB / 0.9696 GB, free: 2.277 MB / 0.7169 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.007219/0.7581, allocations: 5.125 MB / 0.9746 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.7609, allocations: 1.767 MB / 0.9763 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.7619, allocations: 0.6554 MB / 0.9769 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008284/0.7628, allocations: 0.8038 MB / 0.9777 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001483/0.7643, allocations: 0.8957 MB / 0.9786 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.736e-06/0.7643, allocations: 0 / 0.9786 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.005714/0.77, allocations: 2.552 MB / 0.9811 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.7701, allocations: 201.2 kB / 0.9813 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.7713, allocations: 0.8387 MB / 0.9821 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.7714, allocations: 57.7 kB / 0.9822 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005283/0.772, allocations: 0.6446 MB / 0.9828 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.7723, allocations: 480.9 kB / 0.9833 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003507/0.7727, allocations: 242.8 kB / 0.9835 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7728, allocations: 353.9 kB / 0.9838 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000902/0.7738, allocations: 470.4 kB / 0.9843 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.7748, allocations: 0.6417 MB / 0.9849 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.7768, allocations: 1.099 MB / 0.986 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.7768, allocations: 0 / 0.986 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003219/0.78, allocations: 1.499 MB / 0.9874 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.78, allocations: 12.09 kB / 0.9874 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7801, allocations: 0 / 0.9874 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008809/0.7809, allocations: 184.1 kB / 0.9876 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.7824, allocations: 335.5 kB / 0.9879 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005441/0.7879, allocations: 7.272 MB / 0.995 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.7891, allocations: 150.7 kB / 0.9952 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/0.7893, allocations: 56.02 kB / 0.9952 GB, free: 6.477 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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.000743/0.79, allocations: 374.1 kB / 0.9956 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.7903, allocations: 134.5 kB / 0.9957 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/0.794, allocations: 1.847 MB / 0.9975 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.794, allocations: 20 kB / 0.9975 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7941, allocations: 0 / 0.9975 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.7941, allocations: 7.969 kB / 0.9976 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005556/0.7996, allocations: 3.436 MB / 1.001 GB, free: 0.5547 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7997, allocations: 0 / 1.001 GB, free: 0.5547 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/0.8011, allocations: 319.6 kB / 1.001 GB, free: 248 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007019/0.8018, allocations: 176.1 kB / 1.001 GB, free: 56 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-05/0.8019, allocations: 43.91 kB / 1.001 GB, free: 12 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005326/0.8072, allocations: 7.318 MB / 1.009 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8072, allocations: 0 / 1.009 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003509/0.8107, allocations: 1.728 MB / 1.01 GB, free: 6.219 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/0.8114, allocations: 406.9 kB / 1.011 GB, free: 5.801 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.8116, allocations: 28 kB / 1.011 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.8127, allocations: 106.5 kB / 1.011 GB, free: 5.672 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.8129, allocations: 109.2 kB / 1.011 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.813, allocations: 67.95 kB / 1.011 GB, free: 5.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007407/0.8138, allocations: 0.5825 MB / 1.012 GB, free: 4.906 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8138, allocations: 0 / 1.012 GB, free: 4.906 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001468/0.8153, allocations: 0.5727 MB / 1.012 GB, free: 4.332 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.005041/0.8203, allocations: 2.886 MB / 1.015 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003174/0.8235, allocations: 1.832 MB / 1.017 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.8235, allocations: 4.562 kB / 1.017 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.8253, allocations: 1.301 MB / 1.018 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.8274, allocations: 0.5041 MB / 1.018 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/0.844, allocations: 10.03 MB / 1.028 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/0.8449, allocations: 1.304 MB / 1.03 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001423/0.8463, allocations: 434.1 kB / 1.03 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008291/0.8471, allocations: 0.6476 MB / 1.031 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of SimCode: time 8.02e-07/0.8471, allocations: 0 / 1.031 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08086/0.928, allocations: 37.45 MB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/14.07, allocations: 12.67 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)