Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001415/0.001415, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00162/0.00162, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.905/2.905, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001789/0.001789, allocations: 70.7 kB / 1.171 GB, free: 20.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2825, allocations: 179 MB / 1.345 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1877/0.4702, allocations: 172.1 MB / 1.513 GB, free: 3.793 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02226/0.4924, allocations: 17.76 MB / 1.531 GB, free: 1.98 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.4937, allocations: 43.62 kB / 1.531 GB, free: 1.938 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.4953, allocations: 0.5973 MB / 1.531 GB, free: 1.336 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004892/0.5002, allocations: 1.857 MB / 1.533 GB, free: 15.47 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.5037, allocations: 1.492 MB / 1.535 GB, free: 13.99 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003735/0.5074, allocations: 2.929 MB / 1.538 GB, free: 11.06 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.5096, allocations: 1.602 MB / 1.539 GB, free: 9.402 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0041/0.5138, allocations: 1.52 MB / 1.541 GB, free: 7.926 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.5154, allocations: 1.163 MB / 1.542 GB, free: 6.758 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003434/0.5157, allocations: 224 kB / 1.542 GB, free: 6.539 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/0.5188, allocations: 1.665 MB / 1.544 GB, free: 4.871 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000749/0.5196, allocations: 0.8256 MB / 1.544 GB, free: 4.043 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.5209, allocations: 1.29 MB / 1.546 GB, free: 2.746 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004959/0.5258, allocations: 3.817 MB / 1.549 GB, free: 14.91 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5259, allocations: 0 / 1.549 GB, free: 14.91 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5259, allocations: 4 kB / 1.549 GB, free: 14.91 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.442e-05/0.5259, allocations: 4 kB / 1.549 GB, free: 14.91 MB / 1.248 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.005188/0.5311, allocations: 2.976 MB / 1.552 GB, free: 11.88 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.5311, allocations: 8.031 kB / 1.552 GB, free: 11.88 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.695e-05/0.5312, allocations: 47.38 kB / 1.552 GB, free: 11.83 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002873/0.5315, allocations: 248.9 kB / 1.553 GB, free: 11.57 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004194/0.5357, allocations: 0.6384 MB / 1.553 GB, free: 10.93 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004502/0.5402, allocations: 3.378 MB / 1.556 GB, free: 7.52 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.5403, allocations: 127.4 kB / 1.557 GB, free: 7.395 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.5405, allocations: 175.9 kB / 1.557 GB, free: 7.223 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003417/0.5439, allocations: 1.949 MB / 1.559 GB, free: 5.223 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.5439, allocations: 0 / 1.559 GB, free: 5.223 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.5441, allocations: 79.98 kB / 1.559 GB, free: 5.145 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.5441, allocations: 44 kB / 1.559 GB, free: 5.102 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.5478, allocations: 2.109 MB / 1.561 GB, free: 2.988 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.5583, allocations: 6.874 MB / 1.568 GB, free: 11.72 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.5616, allocations: 1.739 MB / 1.569 GB, free: 9.973 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.563, allocations: 0.7101 MB / 1.57 GB, free: 9.258 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004231/0.5634, allocations: 129.1 kB / 1.57 GB, free: 9.133 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001841/0.5652, allocations: 1.025 MB / 1.571 GB, free: 8.086 MB / 1.264 GB Notification: Performance of pre-optimization done (n=146): time 2.564e-06/0.5652, allocations: 0 / 1.571 GB, free: 8.086 MB / 1.264 GB Notification: Performance of matching and sorting (n=146): time 0.006946/0.5722, allocations: 2.633 MB / 1.574 GB, free: 5.434 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.5723, allocations: 193.2 kB / 1.574 GB, free: 5.203 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005124/0.5774, allocations: 4.123 MB / 1.578 GB, free: 1.078 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0002694/0.5777, allocations: 69.69 kB / 1.578 GB, free: 1.004 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008638/0.5786, allocations: 0.9156 MB / 1.579 GB, free: 80 kB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005516/0.5791, allocations: 0.492 MB / 1.579 GB, free: 15.58 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.5795, allocations: 238.8 kB / 1.58 GB, free: 15.34 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5797, allocations: 349.9 kB / 1.58 GB, free: 14.99 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.5809, allocations: 0.5921 MB / 1.58 GB, free: 14.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.5824, allocations: 0.8086 MB / 1.581 GB, free: 13.52 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.5848, allocations: 1.333 MB / 1.583 GB, free: 12.18 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.5848, allocations: 0 / 1.583 GB, free: 12.18 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004234/0.589, allocations: 1.816 MB / 1.584 GB, free: 10.34 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.5891, allocations: 6.344 kB / 1.584 GB, free: 10.34 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5891, allocations: 3.984 kB / 1.584 GB, free: 10.34 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.5901, allocations: 208.2 kB / 1.584 GB, free: 10.12 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.5916, allocations: 327.5 kB / 1.585 GB, free: 9.797 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/0.598, allocations: 6.822 MB / 1.591 GB, free: 2.398 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.5995, allocations: 171.2 kB / 1.592 GB, free: 2.23 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.5997, allocations: 47.95 kB / 1.592 GB, free: 2.184 MB / 1.279 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.0009956/0.6007, allocations: 0.4896 MB / 1.592 GB, free: 1.684 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004748/0.6011, allocations: 206.7 kB / 1.592 GB, free: 1.48 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004602/0.6057, allocations: 2.154 MB / 1.594 GB, free: 15.29 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.6058, allocations: 16 kB / 1.594 GB, free: 15.28 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6058, allocations: 0 / 1.594 GB, free: 15.28 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.6058, allocations: 7.969 kB / 1.594 GB, free: 15.27 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007146/0.6129, allocations: 4.121 MB / 1.599 GB, free: 11.09 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6129, allocations: 0 / 1.599 GB, free: 11.09 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.6143, allocations: 319.6 kB / 1.599 GB, free: 10.77 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008299/0.6151, allocations: 200.1 kB / 1.599 GB, free: 10.56 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.981e-05/0.6152, allocations: 39.97 kB / 1.599 GB, free: 10.52 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005956/0.6212, allocations: 6.843 MB / 1.606 GB, free: 3.098 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6212, allocations: 4.031 kB / 1.606 GB, free: 3.094 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/0.6256, allocations: 2.033 MB / 1.608 GB, free: 1.027 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.6267, allocations: 469.9 kB / 1.608 GB, free: 0.5664 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/0.6269, allocations: 36 kB / 1.608 GB, free: 0.5312 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.6282, allocations: 109.7 kB / 1.608 GB, free: 436 kB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.6284, allocations: 121.1 kB / 1.608 GB, free: 312 kB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/0.6285, allocations: 71.95 kB / 1.608 GB, free: 240 kB / 1.295 GB Notification: Performance of sorting global known variables: time 0.5257/1.154, allocations: 3.16 MB / 1.612 GB, free: 259.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.31e-07/1.154, allocations: 1 kB / 1.612 GB, free: 259.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002462/1.157, allocations: 0.6979 MB / 1.612 GB, free: 259.2 MB / 1.295 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.006751/1.163, allocations: 3.229 MB / 1.615 GB, free: 258.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003281/1.167, allocations: 2.02 MB / 1.617 GB, free: 257.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.167, allocations: 3.188 kB / 1.617 GB, free: 257.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001824/1.169, allocations: 1.375 MB / 1.619 GB, free: 256.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/1.171, allocations: 0.5564 MB / 1.619 GB, free: 256.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03018/1.201, allocations: 21.25 MB / 1.64 GB, free: 248.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.202, allocations: 1.545 MB / 1.642 GB, free: 247.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001634/1.204, allocations: 0.5334 MB / 1.642 GB, free: 247.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.205, allocations: 0.9142 MB / 1.643 GB, free: 247.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.122e-06/1.205, allocations: 1.312 kB / 1.643 GB, free: 247.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0841/1.289, allocations: 51.2 MB / 1.693 GB, free: 202.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.77, allocations: 8 kB / 1.693 GB, free: 202.9 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 22.96627587894909] Failed to read output from testmodel.py, exit status != 0: 17.062126593955327 17.071342132 16.543398127 Calling exit ...