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.001474/0.001474, allocations: 100.1 kB / 15.88 MB, free: 12 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.001706/0.001706, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.313/1.313, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7408/0.7408, allocations: 115.3 MB / 405.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.5 kB / 493 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1234, allocations: 76.19 MB / 0.5558 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.3833/0.5067, allocations: 166.1 MB / 0.718 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0186/0.5253, allocations: 17.41 MB / 0.735 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5264, allocations: 27.81 kB / 0.7351 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.5277, allocations: 477 kB / 0.7355 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.5311, allocations: 1.592 MB / 0.7371 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.5337, allocations: 1.278 MB / 0.7383 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002354/0.5361, allocations: 3.121 MB / 0.7414 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.5378, allocations: 1.803 MB / 0.7431 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004001/0.5419, allocations: 1.269 MB / 0.7444 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009609/0.5428, allocations: 1.101 MB / 0.7454 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.5431, allocations: 124 kB / 0.7456 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.5455, allocations: 1.583 MB / 0.7471 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005121/0.546, allocations: 0.7085 MB / 0.7478 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000917/0.5469, allocations: 1.189 MB / 0.749 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00302/0.5499, allocations: 3.637 MB / 0.7525 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.55, allocations: 0 / 0.7525 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.52e-07/0.55, allocations: 0 / 0.7525 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.55, allocations: 0 / 0.7525 GB, free: 13.48 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004187/0.5542, allocations: 2.938 MB / 0.7554 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.5542, allocations: 16.03 kB / 0.7554 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002517/0.5545, allocations: 244.9 kB / 0.7556 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003527/0.558, allocations: 0.5706 MB / 0.7562 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/0.5612, allocations: 3.398 MB / 0.7595 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.662e-05/0.5613, allocations: 131.3 kB / 0.7596 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.5615, allocations: 175.9 kB / 0.7598 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.5645, allocations: 1.961 MB / 0.7617 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.5646, allocations: 0 / 0.7617 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.5647, allocations: 72 kB / 0.7618 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.5647, allocations: 44 kB / 0.7618 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003261/0.568, allocations: 2.113 MB / 0.7639 GB, free: 1.648 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.00795/0.576, allocations: 6.758 MB / 0.7705 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.5791, allocations: 2.117 MB / 0.7726 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.5803, allocations: 0.7765 MB / 0.7733 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005247/0.5809, allocations: 437.5 kB / 0.7737 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001629/0.5825, allocations: 1.009 MB / 0.7747 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 2.625e-06/0.5825, allocations: 0 / 0.7747 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006239/0.5888, allocations: 3.004 MB / 0.7777 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.5889, allocations: 201.2 kB / 0.7778 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/0.5927, allocations: 4.094 MB / 0.7818 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.5928, allocations: 53.7 kB / 0.7819 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006173/0.5934, allocations: 0.8985 MB / 0.7828 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.5937, allocations: 489 kB / 0.7832 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/0.5941, allocations: 242.7 kB / 0.7835 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5942, allocations: 353.9 kB / 0.7838 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.5953, allocations: 0.5882 MB / 0.7844 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.5965, allocations: 0.8086 MB / 0.7852 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.5988, allocations: 1.337 MB / 0.7865 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5988, allocations: 0 / 0.7865 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003512/0.6023, allocations: 1.803 MB / 0.7882 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6023, allocations: 4 kB / 0.7882 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6023, allocations: 4 kB / 0.7882 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009898/0.6033, allocations: 216.2 kB / 0.7885 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.6048, allocations: 327.5 kB / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005025/0.6098, allocations: 6.815 MB / 0.7954 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.6112, allocations: 190.8 kB / 0.7956 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.931e-05/0.6113, allocations: 47.97 kB / 0.7956 GB, free: 15.63 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: 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 (145): * Single equations (assignments): 140 * 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.0006814/0.612, allocations: 494.9 kB / 0.7961 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.6123, allocations: 197.6 kB / 0.7963 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.6165, allocations: 2.154 MB / 0.7984 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.6166, allocations: 16 kB / 0.7984 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6166, allocations: 4 kB / 0.7984 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6166, allocations: 7.969 kB / 0.7984 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/0.6226, allocations: 4.144 MB / 0.8025 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6227, allocations: 0 / 0.8025 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.624, allocations: 323.5 kB / 0.8028 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008604/0.6249, allocations: 220 kB / 0.803 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.607e-05/0.625, allocations: 43.95 kB / 0.803 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004874/0.6299, allocations: 6.831 MB / 0.8097 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6299, allocations: 4 kB / 0.8097 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.6335, allocations: 2.018 MB / 0.8117 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/0.6342, allocations: 0.5138 MB / 0.8122 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.6345, allocations: 32 kB / 0.8122 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.6357, allocations: 145.9 kB / 0.8124 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.636, allocations: 117.1 kB / 0.8125 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.6361, allocations: 75.94 kB / 0.8125 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002752/0.6389, allocations: 3.145 MB / 0.8156 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6389, allocations: 0 / 0.8156 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001461/0.6404, allocations: 0.6899 MB / 0.8163 GB, free: 9.641 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: 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.005301/0.6457, allocations: 3.24 MB / 0.8195 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003015/0.6487, allocations: 2.063 MB / 0.8215 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.6487, allocations: 4.547 kB / 0.8215 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.6506, allocations: 1.422 MB / 0.8229 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.6526, allocations: 0.5166 MB / 0.8234 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.229/0.8815, allocations: 23.53 MB / 0.8463 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.8831, allocations: 1.546 MB / 0.8479 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002484/0.8856, allocations: 0.5264 MB / 0.8484 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/0.8867, allocations: 0.9026 MB / 0.8493 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/0.8867, allocations: 4.906 kB / 0.8493 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.32/11.2, allocations: 47.62 MB / 0.8958 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/11.2, allocations: 291.3 kB / 0.896 GB, free: 181.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.122/17.33, allocations: 0 / 0.896 GB, free: 181.7 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/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)