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.00123/0.00123, allocations: 106.8 kB / 16.41 MB, free: 6.035 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.001326/0.001327, allocations: 194.5 kB / 17.34 MB, free: 5.629 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7391/0.7391, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.97 kB / 0.5679 GB, free: 28.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1392, allocations: 77.92 MB / 0.644 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5296/0.6688, allocations: 168.4 MB / 0.8085 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.6871, allocations: 17.37 MB / 0.8255 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.6891, allocations: 29.75 kB / 0.8255 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.691, allocations: 0.5855 MB / 0.8261 GB, free: 7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005516/0.6965, allocations: 1.826 MB / 0.8279 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003891/0.7004, allocations: 1.437 MB / 0.8293 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004581/0.705, allocations: 2.898 MB / 0.8321 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.7077, allocations: 1.937 MB / 0.834 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.712, allocations: 1.482 MB / 0.8354 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.7138, allocations: 1.126 MB / 0.8365 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004201/0.7143, allocations: 221.8 kB / 0.8368 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.7176, allocations: 1.553 MB / 0.8383 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006807/0.7183, allocations: 0.8112 MB / 0.8391 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.7197, allocations: 1.277 MB / 0.8403 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005496/0.7252, allocations: 3.763 MB / 0.844 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.7252, allocations: 0 / 0.844 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7252, allocations: 4 kB / 0.844 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.528e-05/0.7253, allocations: 0 / 0.844 GB, free: 12.07 MB / 0.6075 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.005337/0.7306, allocations: 3.025 MB / 0.8469 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.7307, allocations: 10.75 kB / 0.847 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/0.731, allocations: 245.1 kB / 0.8472 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/0.7348, allocations: 0.5837 MB / 0.8478 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004401/0.7392, allocations: 3.452 MB / 0.8511 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.7394, allocations: 127.4 kB / 0.8513 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.7396, allocations: 168 kB / 0.8514 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/0.7431, allocations: 1.964 MB / 0.8533 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/0.7432, allocations: 0 / 0.8533 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.7434, allocations: 75.94 kB / 0.8534 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.7434, allocations: 44 kB / 0.8534 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003681/0.7471, allocations: 2.117 MB / 0.8555 GB, free: 1.789 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.01044/0.7576, allocations: 6.728 MB / 0.8621 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.7609, allocations: 2.127 MB / 0.8642 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.7622, allocations: 0.7725 MB / 0.8649 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.7628, allocations: 435.2 kB / 0.8653 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001721/0.7645, allocations: 1.021 MB / 0.8663 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 3.176e-06/0.7645, allocations: 0 / 0.8663 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.006812/0.7714, allocations: 3.008 MB / 0.8693 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.951e-05/0.7715, allocations: 201.2 kB / 0.8695 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004572/0.7761, allocations: 4.099 MB / 0.8735 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002651/0.7764, allocations: 57.7 kB / 0.8735 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007688/0.7771, allocations: 0.9038 MB / 0.8744 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004797/0.7776, allocations: 0.4984 MB / 0.8749 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/0.778, allocations: 238.8 kB / 0.8751 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7781, allocations: 357.9 kB / 0.8755 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.7793, allocations: 0.5843 MB / 0.876 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.7806, allocations: 0.8086 MB / 0.8768 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00236/0.783, allocations: 1.337 MB / 0.8781 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.783, allocations: 0 / 0.8781 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004114/0.7871, allocations: 1.816 MB / 0.8799 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.7872, allocations: 8 kB / 0.8799 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.7872, allocations: 0 / 0.8799 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.7882, allocations: 212.2 kB / 0.8801 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.7898, allocations: 331.5 kB / 0.8804 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005515/0.7954, allocations: 7.334 MB / 0.8876 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.7972, allocations: 165.8 kB / 0.8877 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.7974, allocations: 56.03 kB / 0.8878 GB, free: 15.29 MB / 0.6544 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.00097/0.7984, allocations: 489.3 kB / 0.8883 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005197/0.7989, allocations: 206.7 kB / 0.8885 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.8033, allocations: 2.158 MB / 0.8906 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.8033, allocations: 16 kB / 0.8906 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8034, allocations: 0 / 0.8906 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.8034, allocations: 7.969 kB / 0.8906 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007346/0.8107, allocations: 4.136 MB / 0.8946 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.8108, allocations: 8 kB / 0.8946 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.8123, allocations: 315.6 kB / 0.8949 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009167/0.8133, allocations: 208 kB / 0.8951 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.8134, allocations: 39.97 kB / 0.8952 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005467/0.8189, allocations: 7.362 MB / 0.9024 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8189, allocations: 3.938 kB / 0.9024 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004375/0.8233, allocations: 2.033 MB / 0.9043 GB, free: 13.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.8245, allocations: 0.5225 MB / 0.9049 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/0.8249, allocations: 31.94 kB / 0.9049 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.8264, allocations: 113.4 kB / 0.905 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.8266, allocations: 117.1 kB / 0.9051 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.8268, allocations: 71.95 kB / 0.9052 GB, free: 12.63 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003231/0.83, allocations: 3.145 MB / 0.9082 GB, free: 9.496 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.11e-07/0.83, allocations: 0 / 0.9082 GB, free: 9.496 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002138/0.8322, allocations: 0.6938 MB / 0.9089 GB, free: 8.801 MB / 0.67 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.006381/0.8386, allocations: 3.243 MB / 0.9121 GB, free: 5.73 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003867/0.8425, allocations: 2.07 MB / 0.9141 GB, free: 3.594 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/0.8425, allocations: 8.547 kB / 0.9141 GB, free: 3.582 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.8449, allocations: 1.433 MB / 0.9155 GB, free: 2.09 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/0.8483, allocations: 0.5587 MB / 0.9161 GB, free: 1.555 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03198/0.8803, allocations: 21.17 MB / 0.9367 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.8816, allocations: 1.537 MB / 0.9382 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001734/0.8834, allocations: 0.533 MB / 0.9388 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.8846, allocations: 0.9015 MB / 0.9396 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of SimCode: time 8.92e-07/0.8846, allocations: 4 kB / 0.9397 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/0.993, allocations: 49.55 MB / 0.988 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.79, allocations: 13.64 kB / 0.988 GB, free: 8.059 MB / 0.7481 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)