Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.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_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",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.001178/0.001178, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001236/0.001236, allocations: 192.8 kB / 16.13 MB, free: 6.707 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.167/1.167, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001828/0.001828, allocations: 290.5 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8497/0.8497, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001574, allocations: 90.59 kB / 0.5946 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1278, allocations: 86.98 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.3661/0.4939, allocations: 151.7 MB / 0.8277 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009545/0.5035, allocations: 10.55 MB / 0.838 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008057/0.5043, allocations: 19.75 kB / 0.838 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006995/0.5051, allocations: 216 kB / 0.8382 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.5071, allocations: 0.7923 MB / 0.839 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.5091, allocations: 0.9443 MB / 0.8399 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.5105, allocations: 1.626 MB / 0.8415 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.5116, allocations: 1.102 MB / 0.8426 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.5133, allocations: 0.61 MB / 0.8432 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005681/0.5138, allocations: 0.5754 MB / 0.8437 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.514, allocations: 68.03 kB / 0.8438 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.5157, allocations: 0.9622 MB / 0.8447 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.516, allocations: 316 kB / 0.845 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004647/0.5165, allocations: 0.5922 MB / 0.8456 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.5184, allocations: 2.121 MB / 0.8477 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5184, allocations: 3.938 kB / 0.8477 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5184, allocations: 0 / 0.8477 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.5184, allocations: 0 / 0.8477 GB, free: 10.88 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002807/0.5212, allocations: 1.725 MB / 0.8494 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5213, allocations: 10.22 kB / 0.8494 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.5215, allocations: 152.7 kB / 0.8495 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.523, allocations: 268.5 kB / 0.8498 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5243, allocations: 1.045 MB / 0.8508 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.834e-05/0.5243, allocations: 74 kB / 0.8509 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5244, allocations: 91.5 kB / 0.851 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.5261, allocations: 1.117 MB / 0.8521 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.5262, allocations: 0 / 0.8521 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.891e-05/0.5263, allocations: 44.12 kB / 0.8521 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.5263, allocations: 22.94 kB / 0.8521 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.5282, allocations: 1.319 MB / 0.8534 GB, free: 7.156 MB / 0.5762 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.004355/0.5326, allocations: 3.277 MB / 0.8566 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.5343, allocations: 1.105 MB / 0.8577 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/0.535, allocations: 419 kB / 0.8581 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.5352, allocations: 137.5 kB / 0.8582 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009661/0.5362, allocations: 0.6226 MB / 0.8588 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 2.174e-06/0.5362, allocations: 3.938 kB / 0.8588 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.003625/0.5398, allocations: 1.631 MB / 0.8604 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.395e-05/0.5399, allocations: 190.7 kB / 0.8606 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009655/0.5409, allocations: 1.029 MB / 0.8616 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.097e-05/0.541, allocations: 48.58 kB / 0.8617 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.5413, allocations: 475.1 kB / 0.8621 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.5415, allocations: 313 kB / 0.8624 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.5417, allocations: 165.1 kB / 0.8626 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5418, allocations: 343.9 kB / 0.8629 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006073/0.5424, allocations: 332 kB / 0.8632 GB, free: 412 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007056/0.5432, allocations: 471.9 kB / 0.8637 GB, free: 112 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.5445, allocations: 0.7744 MB / 0.8644 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5445, allocations: 4.938 kB / 0.8644 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002152/0.5467, allocations: 1.028 MB / 0.8654 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5467, allocations: 4.719 kB / 0.8654 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5467, allocations: 2.531 kB / 0.8654 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006758/0.5474, allocations: 116 kB / 0.8655 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007956/0.5482, allocations: 201.3 kB / 0.8657 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.5508, allocations: 2.852 MB / 0.8685 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008097/0.5517, allocations: 113.7 kB / 0.8686 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.358e-05/0.5517, allocations: 34.67 kB / 0.8687 GB, free: 12.12 MB / 0.5919 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004374/0.5522, allocations: 307.8 kB / 0.869 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.5524, allocations: 109.4 kB / 0.8691 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.5551, allocations: 1.318 MB / 0.8703 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.5551, allocations: 14.03 kB / 0.8704 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.5551, allocations: 0 / 0.8704 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5551, allocations: 10.56 kB / 0.8704 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/0.5587, allocations: 2.449 MB / 0.8728 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5587, allocations: 0 / 0.8728 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.5595, allocations: 196.6 kB / 0.8729 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005887/0.5601, allocations: 111.1 kB / 0.8731 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.5602, allocations: 27.75 kB / 0.8731 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/0.5627, allocations: 2.877 MB / 0.8759 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5627, allocations: 3.938 kB / 0.8759 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.5651, allocations: 1.236 MB / 0.8771 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/0.5656, allocations: 323.9 kB / 0.8774 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.5657, allocations: 24.41 kB / 0.8774 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/0.5665, allocations: 80.81 kB / 0.8775 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.5667, allocations: 92.97 kB / 0.8776 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.95e-05/0.5668, allocations: 43.75 kB / 0.8776 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007837/0.5676, allocations: 0.748 MB / 0.8784 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5676, allocations: 0 / 0.8784 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001029/0.5686, allocations: 436.4 kB / 0.8788 GB, free: 4.91 MB / 0.5919 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004031/0.5727, allocations: 2.401 MB / 0.8811 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002029/0.5747, allocations: 1.103 MB / 0.8822 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.5747, allocations: 4 kB / 0.8822 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.5759, allocations: 0.7449 MB / 0.8829 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.5773, allocations: 327.4 kB / 0.8833 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.5921, allocations: 9.23 MB / 0.8923 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/0.5928, allocations: 1.103 MB / 0.8933 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001068/0.5939, allocations: 311.8 kB / 0.8936 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/0.5945, allocations: 471.2 kB / 0.8941 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.5945, allocations: 0 / 0.8941 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.038/2.632, allocations: 26.66 MB / 0.9201 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004109/2.633, allocations: 312 kB / 0.9204 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/5.122, allocations: 0 / 0.9204 GB, free: 10.7 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)