Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001207/0.001207, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001408/0.001408, allocations: 219.3 kB / 23.03 MB, free: 4.945 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.984/2.984, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_12_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.002032/0.002032, allocations: 62.64 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2949, allocations: 176.1 MB / 1.327 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1785/0.4734, allocations: 148.3 MB / 1.471 GB, free: 12.69 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02629/0.4997, allocations: 16.19 MB / 1.487 GB, free: 12.45 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.5014, allocations: 39.69 kB / 1.487 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.5033, allocations: 0.5622 MB / 1.488 GB, free: 11.84 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005719/0.5091, allocations: 1.852 MB / 1.49 GB, free: 9.984 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003981/0.513, allocations: 1.475 MB / 1.491 GB, free: 8.523 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004312/0.5174, allocations: 2.926 MB / 1.494 GB, free: 5.586 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/0.5204, allocations: 1.598 MB / 1.495 GB, free: 3.93 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004829/0.5253, allocations: 1.522 MB / 1.497 GB, free: 2.453 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.5272, allocations: 1.155 MB / 1.498 GB, free: 1.293 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006548/0.5279, allocations: 224 kB / 1.498 GB, free: 1.074 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004091/0.532, allocations: 1.494 MB / 1.5 GB, free: 15.58 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.5334, allocations: 0.8256 MB / 1.501 GB, free: 14.75 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.5356, allocations: 1.046 MB / 1.502 GB, free: 13.7 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.007225/0.5428, allocations: 3.825 MB / 1.505 GB, free: 9.859 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5428, allocations: 0 / 1.505 GB, free: 9.859 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5428, allocations: 0 / 1.505 GB, free: 9.859 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.000111/0.5429, allocations: 0 / 1.505 GB, free: 9.859 MB / 1.201 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.006296/0.5492, allocations: 2.984 MB / 1.508 GB, free: 6.828 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.5493, allocations: 12.03 kB / 1.508 GB, free: 6.816 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.687e-05/0.5493, allocations: 43.39 kB / 1.508 GB, free: 6.773 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002997/0.5496, allocations: 252.9 kB / 1.509 GB, free: 6.516 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/0.5541, allocations: 0.6345 MB / 1.509 GB, free: 5.879 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004745/0.5589, allocations: 3.382 MB / 1.512 GB, free: 2.465 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.559, allocations: 131.4 kB / 1.513 GB, free: 2.336 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.5593, allocations: 175.9 kB / 1.513 GB, free: 2.164 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/0.5633, allocations: 2.709 MB / 1.515 GB, free: 15.22 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.5634, allocations: 0 / 1.515 GB, free: 15.22 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.5635, allocations: 79.98 kB / 1.515 GB, free: 15.14 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.5636, allocations: 40 kB / 1.516 GB, free: 15.1 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003652/0.5672, allocations: 2.117 MB / 1.518 GB, free: 12.98 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009162/0.5764, allocations: 5.117 MB / 1.523 GB, free: 7.773 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/0.5796, allocations: 1.751 MB / 1.524 GB, free: 6.023 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.5808, allocations: 0.7139 MB / 1.525 GB, free: 5.309 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004397/0.5813, allocations: 113.2 kB / 1.525 GB, free: 5.199 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002136/0.5834, allocations: 1.619 MB / 1.527 GB, free: 3.41 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.667e-06/0.5834, allocations: 8 kB / 1.527 GB, free: 3.402 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.006824/0.5903, allocations: 2.629 MB / 1.529 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.5904, allocations: 197.2 kB / 1.529 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004972/0.5953, allocations: 4.13 MB / 1.533 GB, free: 12.39 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002398/0.5956, allocations: 57.7 kB / 1.534 GB, free: 12.32 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009114/0.5965, allocations: 0.9117 MB / 1.534 GB, free: 11.4 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005388/0.597, allocations: 0.5035 MB / 1.535 GB, free: 10.89 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/0.5975, allocations: 242.8 kB / 1.535 GB, free: 10.65 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5976, allocations: 349.9 kB / 1.535 GB, free: 10.3 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.5988, allocations: 0.5804 MB / 1.536 GB, free: 9.723 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.6005, allocations: 1.235 MB / 1.537 GB, free: 8.316 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.6031, allocations: 1.329 MB / 1.539 GB, free: 6.977 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6031, allocations: 8 kB / 1.539 GB, free: 6.969 MB / 1.232 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004394/0.6074, allocations: 1.808 MB / 1.54 GB, free: 5.137 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.6075, allocations: 4 kB / 1.54 GB, free: 5.133 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6075, allocations: 4 kB / 1.54 GB, free: 5.129 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.6086, allocations: 208.1 kB / 1.541 GB, free: 4.91 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.6103, allocations: 331.6 kB / 1.541 GB, free: 4.586 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006607/0.6169, allocations: 6.801 MB / 1.547 GB, free: 13.21 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.6186, allocations: 169.7 kB / 1.548 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.6188, allocations: 47.97 kB / 1.548 GB, free: 13 MB / 1.248 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.001069/0.6199, allocations: 0.4936 MB / 1.548 GB, free: 12.49 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005228/0.6204, allocations: 206.7 kB / 1.548 GB, free: 12.29 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004788/0.6252, allocations: 2.15 MB / 1.55 GB, free: 10.11 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.6252, allocations: 19.94 kB / 1.55 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6252, allocations: 4 kB / 1.55 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/0.6252, allocations: 7.969 kB / 1.55 GB, free: 10.08 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008053/0.6333, allocations: 3.832 MB / 1.554 GB, free: 6.184 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.6333, allocations: 0 / 1.554 GB, free: 6.184 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.6348, allocations: 327.5 kB / 1.555 GB, free: 5.863 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009222/0.6357, allocations: 200.1 kB / 1.555 GB, free: 5.652 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.6358, allocations: 39.97 kB / 1.555 GB, free: 5.613 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006286/0.6421, allocations: 6.823 MB / 1.561 GB, free: 14.2 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6421, allocations: 3.984 kB / 1.561 GB, free: 14.2 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00458/0.6467, allocations: 2.041 MB / 1.563 GB, free: 12.12 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.6478, allocations: 466 kB / 1.564 GB, free: 11.67 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.6481, allocations: 28 kB / 1.564 GB, free: 11.64 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.6494, allocations: 113.2 kB / 1.564 GB, free: 11.53 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.6497, allocations: 117.1 kB / 1.564 GB, free: 11.41 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/0.6499, allocations: 75.94 kB / 1.564 GB, free: 11.34 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003539/0.6534, allocations: 3.165 MB / 1.567 GB, free: 8.184 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6534, allocations: 3.938 kB / 1.567 GB, free: 8.18 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00187/0.6553, allocations: 0.7015 MB / 1.568 GB, free: 7.477 MB / 1.264 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.006915/0.6622, allocations: 3.255 MB / 1.571 GB, free: 4.391 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003721/0.6659, allocations: 2.031 MB / 1.573 GB, free: 2.297 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.666, allocations: 0.6562 kB / 1.573 GB, free: 2.297 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.6681, allocations: 1.372 MB / 1.574 GB, free: 0.8594 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/0.6708, allocations: 0.5384 MB / 1.575 GB, free: 344 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03395/0.7048, allocations: 21.27 MB / 1.596 GB, free: 10.83 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.7061, allocations: 0.9696 MB / 1.597 GB, free: 9.82 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002383/0.7085, allocations: 0.5367 MB / 1.597 GB, free: 9.277 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/0.7102, allocations: 0.9171 MB / 1.598 GB, free: 8.359 MB / 1.295 GB Notification: Performance of SimCode: time 1.243e-06/0.7102, allocations: 0 / 1.598 GB, free: 8.359 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6805/1.391, allocations: 53.28 MB / 1.65 GB, free: 257 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.88/18.27, allocations: 8.047 kB / 1.65 GB, free: 257 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 24.78135264699813] Failed to read output from testmodel.py, exit status != 0: 18.575242424034514 18.58512993 18.039896888 Calling exit ...