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.001294/0.001294, allocations: 108 kB / 15.61 MB, free: 152 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.001204/0.001204, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002494/0.002493, allocations: 282.6 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 97.97 kB / 0.6065 GB, free: 24.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1606, allocations: 89.14 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.447/0.6076, allocations: 168.4 MB / 0.8581 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02238/0.6301, allocations: 17.37 MB / 0.875 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.6316, allocations: 32.62 kB / 0.8751 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.6334, allocations: 0.5725 MB / 0.8756 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00545/0.6389, allocations: 1.781 MB / 0.8774 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.6425, allocations: 1.442 MB / 0.8788 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003977/0.6465, allocations: 2.863 MB / 0.8816 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.6497, allocations: 1.954 MB / 0.8835 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004697/0.6544, allocations: 1.424 MB / 0.8849 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.6563, allocations: 1.126 MB / 0.886 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000694/0.657, allocations: 220 kB / 0.8862 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.6607, allocations: 1.525 MB / 0.8877 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.6619, allocations: 0.8023 MB / 0.8885 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002259/0.6641, allocations: 1.286 MB / 0.8897 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005925/0.6701, allocations: 3.68 MB / 0.8933 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6701, allocations: 0 / 0.8933 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6701, allocations: 0 / 0.8933 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.32e-05/0.6702, allocations: 0 / 0.8933 GB, free: 15.02 MB / 0.6231 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.005242/0.6754, allocations: 2.934 MB / 0.8962 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.6755, allocations: 12.03 kB / 0.8962 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003183/0.6758, allocations: 244.9 kB / 0.8964 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00372/0.6796, allocations: 0.5706 MB / 0.897 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004685/0.6843, allocations: 3.402 MB / 0.9003 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.6844, allocations: 127.4 kB / 0.9004 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.6847, allocations: 172 kB / 0.9006 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003557/0.6882, allocations: 1.953 MB / 0.9025 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.6883, allocations: 3.938 kB / 0.9025 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.6885, allocations: 72 kB / 0.9026 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/0.6885, allocations: 47.98 kB / 0.9026 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003673/0.6922, allocations: 2.117 MB / 0.9047 GB, free: 3.195 MB / 0.6231 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.01098/0.7032, allocations: 6.774 MB / 0.9113 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003626/0.7069, allocations: 2.125 MB / 0.9134 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.7082, allocations: 0.7725 MB / 0.9141 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000623/0.7089, allocations: 433.6 kB / 0.9145 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.7107, allocations: 1.017 MB / 0.9155 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 2.866e-06/0.7107, allocations: 0 / 0.9155 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.007207/0.718, allocations: 3.004 MB / 0.9185 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.7181, allocations: 201.2 kB / 0.9186 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005048/0.7232, allocations: 4.094 MB / 0.9226 GB, free: 116 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.7234, allocations: 53.7 kB / 0.9227 GB, free: 56 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008831/0.7243, allocations: 0.8985 MB / 0.9236 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.7248, allocations: 485 kB / 0.924 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/0.7253, allocations: 234.8 kB / 0.9243 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.7255, allocations: 361.9 kB / 0.9246 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.7267, allocations: 0.5765 MB / 0.9252 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.7281, allocations: 0.8125 MB / 0.926 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/0.7306, allocations: 1.341 MB / 0.9273 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.7306, allocations: 0 / 0.9273 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004142/0.7348, allocations: 1.799 MB / 0.929 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7348, allocations: 4 kB / 0.929 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7348, allocations: 0 / 0.929 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.7359, allocations: 208.2 kB / 0.9292 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.7375, allocations: 339.5 kB / 0.9296 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006957/0.7445, allocations: 7.323 MB / 0.9367 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.7462, allocations: 166.8 kB / 0.9369 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/0.7464, allocations: 55.95 kB / 0.9369 GB, free: 0.6406 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.001056/0.7475, allocations: 490.1 kB / 0.9374 GB, free: 156 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005799/0.748, allocations: 193.8 kB / 0.9376 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004981/0.753, allocations: 2.169 MB / 0.9397 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.7531, allocations: 16 kB / 0.9397 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.7531, allocations: 4 kB / 0.9397 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/0.7531, allocations: 7.969 kB / 0.9397 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007766/0.7609, allocations: 4.155 MB / 0.9438 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.7609, allocations: 0 / 0.9438 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.7624, allocations: 319.6 kB / 0.9441 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000915/0.7633, allocations: 200.1 kB / 0.9443 GB, free: 8.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/0.7635, allocations: 43.95 kB / 0.9443 GB, free: 8.938 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006678/0.7702, allocations: 7.356 MB / 0.9515 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7702, allocations: 0 / 0.9515 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/0.7751, allocations: 2.026 MB / 0.9535 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.7762, allocations: 0.5021 MB / 0.954 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/0.7766, allocations: 47.92 kB / 0.954 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/0.7781, allocations: 106.3 kB / 0.9541 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.7784, allocations: 120.9 kB / 0.9542 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/0.7786, allocations: 75.94 kB / 0.9543 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003998/0.7826, allocations: 3.145 MB / 0.9574 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7827, allocations: 0 / 0.9574 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00214/0.7848, allocations: 0.6859 MB / 0.958 GB, free: 10.12 MB / 0.6856 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.007749/0.7926, allocations: 3.239 MB / 0.9612 GB, free: 7.039 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006121/0.7987, allocations: 2.508 MB / 0.9637 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.7988, allocations: 8.547 kB / 0.9637 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002432/0.8012, allocations: 1.415 MB / 0.965 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/0.8042, allocations: 0.5631 MB / 0.9656 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03781/0.842, allocations: 22.76 MB / 0.9878 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/0.8436, allocations: 1.545 MB / 0.9893 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002245/0.8459, allocations: 0.5289 MB / 0.9898 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/0.8474, allocations: 0.8976 MB / 0.9907 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.8474, allocations: 0 / 0.9907 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/0.9594, allocations: 49.17 MB / 1.039 GB, free: 7.293 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.62, allocations: 15.92 kB / 1.039 GB, free: 7.277 MB / 0.7637 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)