Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",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.001607/0.001607, allocations: 97.52 kB / 15.69 MB, free: 488 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.001962/0.001962, allocations: 171 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.508/2.508, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.3/1.3, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005846/0.0005847, allocations: 8 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3271, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.9392/1.267, allocations: 140.3 MB / 0.6937 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03056/1.297, allocations: 14.18 MB / 0.7076 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00341/1.301, allocations: 27.81 kB / 0.7076 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00329/1.304, allocations: 350 kB / 0.7079 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01155/1.316, allocations: 1.329 MB / 0.7092 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007871/1.324, allocations: 1.118 MB / 0.7103 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007515/1.331, allocations: 1.6 MB / 0.7119 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004783/1.336, allocations: 1.509 MB / 0.7134 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005489/1.342, allocations: 0.9379 MB / 0.7143 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/1.345, allocations: 0.7154 MB / 0.715 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001047/1.346, allocations: 52 kB / 0.715 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007032/1.353, allocations: 0.9907 MB / 0.716 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002006/1.355, allocations: 0.5723 MB / 0.7166 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002/1.357, allocations: 416.4 kB / 0.717 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009276/1.367, allocations: 2.647 MB / 0.7195 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/1.367, allocations: 0 / 0.7195 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.051e-06/1.367, allocations: 0 / 0.7195 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001564/1.367, allocations: 0 / 0.7195 GB, free: 3.27 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.009145/1.376, allocations: 2.452 MB / 0.7219 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.09e-05/1.376, allocations: 8.031 kB / 0.7219 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008708/1.377, allocations: 248.9 kB / 0.7222 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005754/1.383, allocations: 0.5824 MB / 0.7227 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009156/1.392, allocations: 3.329 MB / 0.726 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/1.392, allocations: 135.4 kB / 0.7261 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006037/1.393, allocations: 164 kB / 0.7263 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006787/1.4, allocations: 1.937 MB / 0.7282 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-05/1.4, allocations: 0 / 0.7282 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003471/1.4, allocations: 76 kB / 0.7282 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/1.4, allocations: 40 kB / 0.7283 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007411/1.408, allocations: 2.124 MB / 0.7304 GB, free: 8.004 MB / 0.545 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.02316/1.431, allocations: 6.398 MB / 0.7366 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006956/1.438, allocations: 1.876 MB / 0.7384 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/1.438, allocations: 73.23 kB / 0.7385 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003532/1.442, allocations: 1.013 MB / 0.7395 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=146): time 8.215e-06/1.442, allocations: 3.938 kB / 0.7395 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=146): time 0.01318/1.455, allocations: 3.014 MB / 0.7424 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/1.455, allocations: 205.2 kB / 0.7426 GB, free: 11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009854/1.465, allocations: 4.079 MB / 0.7466 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006639/1.466, allocations: 61.7 kB / 0.7467 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/1.468, allocations: 0.9024 MB / 0.7476 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/1.469, allocations: 481 kB / 0.748 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/1.469, allocations: 24 kB / 0.748 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002666/1.469, allocations: 353.9 kB / 0.7484 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/1.471, allocations: 0.5843 MB / 0.749 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/1.474, allocations: 0.8008 MB / 0.7497 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002323/1.476, allocations: 0.6583 MB / 0.7504 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/1.476, allocations: 0 / 0.7504 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.007724/1.484, allocations: 1.799 MB / 0.7521 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/1.484, allocations: 4 kB / 0.7521 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/1.484, allocations: 0 / 0.7521 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001867/1.486, allocations: 216.1 kB / 0.7523 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/1.489, allocations: 331.6 kB / 0.7527 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/1.499, allocations: 6.851 MB / 0.7594 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003844/1.503, allocations: 197.4 kB / 0.7595 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005189/1.504, allocations: 51.97 kB / 0.7596 GB, free: 8.832 MB / 0.5762 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002575/1.506, allocations: 494.1 kB / 0.7601 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/1.507, allocations: 189.7 kB / 0.7602 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008494/1.516, allocations: 2.177 MB / 0.7624 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/1.516, allocations: 16 kB / 0.7624 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.516, allocations: 3.938 kB / 0.7624 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.654e-05/1.516, allocations: 12.16 kB / 0.7624 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/1.53, allocations: 3.97 MB / 0.7663 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/1.53, allocations: 4 kB / 0.7663 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/1.533, allocations: 331.8 kB / 0.7666 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/1.535, allocations: 216.1 kB / 0.7668 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004044/1.535, allocations: 43.95 kB / 0.7668 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/1.546, allocations: 6.879 MB / 0.7736 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.588e-05/1.546, allocations: 11.95 kB / 0.7736 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009124/1.555, allocations: 2.22 MB / 0.7757 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003191/1.559, allocations: 0.5215 MB / 0.7763 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001344/1.56, allocations: 32 kB / 0.7763 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003821/1.564, allocations: 152.2 kB / 0.7764 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000679/1.565, allocations: 125.1 kB / 0.7765 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005365/1.565, allocations: 83.89 kB / 0.7766 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007586/1.573, allocations: 3.133 MB / 0.7797 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.082e-06/1.573, allocations: 0 / 0.7797 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005595/1.578, allocations: 0.6664 MB / 0.7803 GB, free: 2.645 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01366/1.592, allocations: 3.94 MB / 0.7842 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007275/1.6, allocations: 2.074 MB / 0.7862 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-05/1.6, allocations: 0.7969 kB / 0.7862 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004363/1.604, allocations: 1.442 MB / 0.7876 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005864/1.61, allocations: 489.2 kB / 0.7881 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06542/1.675, allocations: 19.87 MB / 0.8075 GB, free: 6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002217/1.678, allocations: 1.591 MB / 0.809 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004363/1.682, allocations: 0.5171 MB / 0.8096 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002439/1.685, allocations: 0.8975 MB / 0.8104 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of SimCode: time 2.595e-06/1.685, allocations: 0 / 0.8104 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8986/2.583, allocations: 48.66 MB / 0.8579 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003653/2.584, allocations: 260.3 kB / 0.8582 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.311/8.894, allocations: 0 / 0.8582 GB, free: 215.4 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) Environment - environmentSimulation: