Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_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.001046/0.001046, allocations: 108 kB / 15.61 MB, free: 128 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.001194/0.001194, allocations: 198.1 kB / 16.53 MB, free: 6.672 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002313/0.002313, allocations: 287.1 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9459/0.9459, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 102.8 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1565, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.461/0.6175, allocations: 167.2 MB / 0.8436 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0201/0.6377, allocations: 17.22 MB / 0.8604 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.6398, allocations: 32.28 kB / 0.8604 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.6415, allocations: 0.5362 MB / 0.8609 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005456/0.647, allocations: 1.682 MB / 0.8626 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.651, allocations: 1.416 MB / 0.864 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003642/0.6546, allocations: 2.672 MB / 0.8666 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002905/0.6576, allocations: 2.004 MB / 0.8685 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/0.6618, allocations: 1.388 MB / 0.8699 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002254/0.6641, allocations: 1.087 MB / 0.871 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007306/0.6649, allocations: 227.4 kB / 0.8712 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003964/0.6688, allocations: 1.52 MB / 0.8727 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001515/0.6704, allocations: 0.81 MB / 0.8734 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0028/0.6732, allocations: 1.24 MB / 0.8747 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006278/0.6795, allocations: 3.613 MB / 0.8782 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.6795, allocations: 0 / 0.8782 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6796, allocations: 0 / 0.8782 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001348/0.6797, allocations: 0 / 0.8782 GB, free: 9.02 MB / 0.5919 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.007325/0.687, allocations: 2.916 MB / 0.881 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.6871, allocations: 10.06 kB / 0.881 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005489/0.6876, allocations: 247.1 kB / 0.8813 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/0.6926, allocations: 0.5702 MB / 0.8818 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006251/0.6989, allocations: 3.401 MB / 0.8852 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.699, allocations: 129.9 kB / 0.8853 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004795/0.6995, allocations: 167.1 kB / 0.8854 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004297/0.7038, allocations: 1.965 MB / 0.8874 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.7039, allocations: 0 / 0.8874 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.7041, allocations: 72 kB / 0.8874 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.7041, allocations: 44 kB / 0.8875 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003899/0.7081, allocations: 2.12 MB / 0.8895 GB, free: 0.957 MB / 0.5919 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.01052/0.7186, allocations: 6.383 MB / 0.8958 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.7222, allocations: 2.133 MB / 0.8979 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.7237, allocations: 0.7724 MB / 0.8986 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006022/0.7243, allocations: 433.6 kB / 0.899 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/0.7261, allocations: 1.013 MB / 0.9 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.066e-06/0.7261, allocations: 0 / 0.9 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.007284/0.7334, allocations: 2.996 MB / 0.9029 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.7336, allocations: 197.2 kB / 0.9031 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005484/0.7391, allocations: 4.102 MB / 0.9071 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003165/0.7394, allocations: 61.64 kB / 0.9072 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008669/0.7403, allocations: 0.8985 MB / 0.9081 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006138/0.7409, allocations: 481 kB / 0.9085 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000582/0.7415, allocations: 242.8 kB / 0.9088 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.7417, allocations: 353.9 kB / 0.9091 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.7429, allocations: 0.5843 MB / 0.9097 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.7444, allocations: 0.8093 MB / 0.9105 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.7469, allocations: 1.329 MB / 0.9118 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7469, allocations: 0 / 0.9118 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00433/0.7512, allocations: 1.807 MB / 0.9135 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.7513, allocations: 6.5 kB / 0.9135 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7513, allocations: 4.062 kB / 0.9135 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.7523, allocations: 204.1 kB / 0.9137 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.754, allocations: 335.6 kB / 0.914 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006783/0.7608, allocations: 7.314 MB / 0.9212 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.7627, allocations: 174.8 kB / 0.9214 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.763, allocations: 47.97 kB / 0.9214 GB, free: 14.89 MB / 0.6387 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.00117/0.7642, allocations: 0.4902 MB / 0.9219 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006973/0.7649, allocations: 193.6 kB / 0.9221 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/0.7699, allocations: 2.161 MB / 0.9242 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.7699, allocations: 16 kB / 0.9242 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.7699, allocations: 4 kB / 0.9242 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.77, allocations: 7.969 kB / 0.9242 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008059/0.778, allocations: 4.152 MB / 0.9283 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.7781, allocations: 0 / 0.9283 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.7795, allocations: 327.5 kB / 0.9286 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009502/0.7805, allocations: 200.1 kB / 0.9288 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.7806, allocations: 39.97 kB / 0.9288 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005934/0.7866, allocations: 7.374 MB / 0.936 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7866, allocations: 0 / 0.936 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004761/0.7914, allocations: 2.022 MB / 0.938 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.7925, allocations: 0.506 MB / 0.9385 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004518/0.793, allocations: 31.91 kB / 0.9385 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.7945, allocations: 113 kB / 0.9386 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/0.7948, allocations: 117.1 kB / 0.9387 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/0.795, allocations: 67.95 kB / 0.9388 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004113/0.7991, allocations: 3.152 MB / 0.9419 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7992, allocations: 0 / 0.9419 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002103/0.8013, allocations: 0.6663 MB / 0.9425 GB, free: 8.391 MB / 0.6544 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.006425/0.8077, allocations: 3.239 MB / 0.9457 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005381/0.8131, allocations: 2.504 MB / 0.9481 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.8131, allocations: 4.547 kB / 0.9481 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.8153, allocations: 1.422 MB / 0.9495 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/0.818, allocations: 0.5314 MB / 0.95 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03439/0.8524, allocations: 22.88 MB / 0.9724 GB, free: 9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/0.8539, allocations: 1.537 MB / 0.9739 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002125/0.8561, allocations: 0.5286 MB / 0.9744 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/0.8574, allocations: 0.9093 MB / 0.9753 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of SimCode: time 9.12e-07/0.8574, allocations: 0 / 0.9753 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0996/0.957, allocations: 48.31 MB / 1.022 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.94, allocations: 12.61 kB / 1.022 GB, free: 6.285 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)