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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 220.1 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002592/0.002592, allocations: 279.4 kB / 312.7 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.214/1.214, allocations: 180.6 MB / 0.5369 GB, free: 12.95 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002888/0.002888, allocations: 99.09 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1923, allocations: 95.39 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.6448/0.8371, allocations: 172.1 MB / 1.001 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02167/0.8588, allocations: 17.76 MB / 1.018 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/0.8612, allocations: 40.88 kB / 1.018 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.863, allocations: 0.5981 MB / 1.019 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00636/0.8694, allocations: 1.847 MB / 1.021 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.8739, allocations: 1.514 MB / 1.022 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004331/0.8782, allocations: 2.922 MB / 1.025 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002742/0.8809, allocations: 1.611 MB / 1.026 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/0.8854, allocations: 1.525 MB / 1.028 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.8875, allocations: 1.165 MB / 1.029 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007247/0.8882, allocations: 223.9 kB / 1.029 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004315/0.8925, allocations: 1.672 MB / 1.031 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009519/0.8935, allocations: 0.8237 MB / 1.032 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002192/0.8957, allocations: 1.29 MB / 1.033 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005746/0.9014, allocations: 3.814 MB / 1.037 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.9014, allocations: 3.938 kB / 1.037 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9014, allocations: 1.094 kB / 1.037 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.779e-05/0.9015, allocations: 0 / 1.037 GB, free: 17.54 MB / 0.7325 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.005613/0.9071, allocations: 2.985 MB / 1.04 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.9071, allocations: 9.625 kB / 1.04 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000334/0.9075, allocations: 249 kB / 1.04 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004356/0.9118, allocations: 0.6361 MB / 1.04 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/0.9163, allocations: 3.382 MB / 1.044 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.9164, allocations: 127.5 kB / 1.044 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.9167, allocations: 171.8 kB / 1.044 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/0.9198, allocations: 1.953 MB / 1.046 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.9199, allocations: 3.938 kB / 1.046 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.92, allocations: 75.66 kB / 1.046 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.9201, allocations: 44.09 kB / 1.046 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/0.9232, allocations: 2.12 MB / 1.048 GB, free: 15.12 MB / 0.7325 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.01096/0.9342, allocations: 6.648 MB / 1.055 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/0.9373, allocations: 1.741 MB / 1.056 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.9385, allocations: 0.7188 MB / 1.057 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004486/0.9389, allocations: 128.8 kB / 1.057 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00174/0.9407, allocations: 1.014 MB / 1.058 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.697e-06/0.9407, allocations: 1.031 kB / 1.058 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.007295/0.948, allocations: 2.636 MB / 1.061 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.9481, allocations: 198.8 kB / 1.061 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005648/0.9538, allocations: 4.127 MB / 1.065 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004089/0.9542, allocations: 56.92 kB / 1.065 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009275/0.9551, allocations: 0.9102 MB / 1.066 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005759/0.9557, allocations: 0.5038 MB / 1.066 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/0.9561, allocations: 243.6 kB / 1.067 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.9562, allocations: 353.4 kB / 1.067 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.9574, allocations: 0.5825 MB / 1.068 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.9588, allocations: 0.8087 MB / 1.068 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002467/0.9612, allocations: 1.331 MB / 1.07 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.9613, allocations: 2.094 kB / 1.07 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004651/0.9659, allocations: 1.813 MB / 1.071 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.9659, allocations: 4.906 kB / 1.071 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.9659, allocations: 0 / 1.071 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.967, allocations: 218.1 kB / 1.072 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.9686, allocations: 326.2 kB / 1.072 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006547/0.9752, allocations: 6.834 MB / 1.079 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.9771, allocations: 166 kB / 1.079 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.9772, allocations: 47.97 kB / 1.079 GB, free: 9.922 MB / 0.7481 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.001129/0.9783, allocations: 496.9 kB / 1.079 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/0.9789, allocations: 206.7 kB / 1.079 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004744/0.9836, allocations: 2.153 MB / 1.082 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.9836, allocations: 16.94 kB / 1.082 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.9836, allocations: 4 kB / 1.082 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.9837, allocations: 8.375 kB / 1.082 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007574/0.9912, allocations: 4.131 MB / 1.086 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.9912, allocations: 3.984 kB / 1.086 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.9927, allocations: 320.3 kB / 1.086 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008373/0.9935, allocations: 199.2 kB / 1.086 GB, free: 2.41 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.9936, allocations: 39.97 kB / 1.086 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.9998, allocations: 6.849 MB / 1.093 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9998, allocations: 0 / 1.093 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/1.004, allocations: 2.032 MB / 1.095 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.005, allocations: 462 kB / 1.095 GB, free: 8.469 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/1.006, allocations: 36 kB / 1.095 GB, free: 8.434 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.007, allocations: 111.8 kB / 1.095 GB, free: 8.324 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/1.007, allocations: 124.3 kB / 1.096 GB, free: 8.203 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.007, allocations: 67.95 kB / 1.096 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003635/1.011, allocations: 3.169 MB / 1.099 GB, free: 4.977 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/1.011, allocations: 0 / 1.099 GB, free: 4.977 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001998/1.013, allocations: 0.6976 MB / 1.099 GB, free: 4.277 MB / 0.7637 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.006691/1.02, allocations: 3.228 MB / 1.103 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003839/1.024, allocations: 2.019 MB / 1.105 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.024, allocations: 12.7 kB / 1.105 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/1.026, allocations: 1.368 MB / 1.106 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/1.028, allocations: 0.5643 MB / 1.106 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03399/1.062, allocations: 21.25 MB / 1.127 GB, free: 7.805 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.064, allocations: 1.541 MB / 1.129 GB, free: 6.227 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002038/1.066, allocations: 0.5251 MB / 1.129 GB, free: 5.695 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.067, allocations: 0.9209 MB / 1.13 GB, free: 4.777 MB / 0.795 GB Notification: Performance of SimCode: time 7.91e-07/1.067, allocations: 0 / 1.13 GB, free: 4.777 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/1.195, allocations: 51.2 MB / 1.18 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/17.48, allocations: 6.922 kB / 1.18 GB, free: 2.137 MB / 0.8419 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.854973047040403] Failed to read output from testmodel.py, exit status != 0: 17.728306384989992 17.743615366 16.839011312 Calling exit ...