Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.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.001907/0.001907, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002602/0.002602, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.801 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.002542/0.002542, allocations: 293.2 kB / 312.7 MB, free: 2.617 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.225/1.225, allocations: 180.6 MB / 0.5369 GB, free: 14.61 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.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.Table,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table",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.004084/0.004084, allocations: 101.1 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.246, allocations: 95.39 MB / 0.8326 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.00527/0.2512, allocations: 1.683 MB / 0.8343 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.2532, allocations: 0.6237 MB / 0.8349 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.2533, allocations: 4 kB / 0.8349 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008926/0.2542, allocations: 192.5 kB / 0.8351 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007866/0.255, allocations: 203.3 kB / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.2558, allocations: 197.6 kB / 0.8354 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.2562, allocations: 219.4 kB / 0.8356 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.2564, allocations: 26 kB / 0.8357 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.2565, allocations: 95.67 kB / 0.8358 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.2569, allocations: 167.5 kB / 0.8359 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.2569, allocations: 16 kB / 0.8359 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.2571, allocations: 39.98 kB / 0.836 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.2573, allocations: 87.69 kB / 0.8361 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.2574, allocations: 71.45 kB / 0.8361 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.2579, allocations: 286.6 kB / 0.8364 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2579, allocations: 0 / 0.8364 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2579, allocations: 0 / 0.8364 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.2579, allocations: 4 kB / 0.8364 GB, free: 4.461 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00118/0.2591, allocations: 0.5276 MB / 0.8369 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.2592, allocations: 13.94 kB / 0.8369 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.32e-05/0.2592, allocations: 34.75 kB / 0.837 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/0.2593, allocations: 36.7 kB / 0.837 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/0.2601, allocations: 324.7 kB / 0.8373 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.2601, allocations: 8.375 kB / 0.8373 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2601, allocations: 384 / 0.8373 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.2604, allocations: 77.55 kB / 0.8374 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2604, allocations: 0 / 0.8374 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.2604, allocations: 7.984 kB / 0.8374 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2604, allocations: 0 / 0.8374 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.2607, allocations: 55.89 kB / 0.8374 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.2614, allocations: 371.8 kB / 0.8378 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.2617, allocations: 50.58 kB / 0.8379 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.2618, allocations: 24.91 kB / 0.8379 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.2618, allocations: 4 kB / 0.8379 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.2619, allocations: 42.55 kB / 0.8379 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.2619, allocations: 0 / 0.8379 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005403/0.2624, allocations: 117.3 kB / 0.838 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.2625, allocations: 55.41 kB / 0.8381 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009339/0.2634, allocations: 0.5328 MB / 0.8386 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.2634, allocations: 25.7 kB / 0.8386 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.2636, allocations: 172 kB / 0.8388 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.2637, allocations: 15.88 kB / 0.8388 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.2637, allocations: 17.72 kB / 0.8388 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.2639, allocations: 338.8 kB / 0.8391 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2641, allocations: 23.97 kB / 0.8392 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.2642, allocations: 20 kB / 0.8392 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.2644, allocations: 40.81 kB / 0.8392 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2644, allocations: 0 / 0.8392 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003632/0.2648, allocations: 109.7 kB / 0.8393 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2648, allocations: 4 kB / 0.8393 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2648, allocations: 0 / 0.8393 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.2649, allocations: 4.031 kB / 0.8393 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.265, allocations: 11.98 kB / 0.8394 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.265, allocations: 0 / 0.8394 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.2651, allocations: 15.89 kB / 0.8394 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2651, allocations: 4 kB / 0.8394 GB, free: 1.223 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.2654, allocations: 182.4 kB / 0.8395 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.2654, allocations: 27.81 kB / 0.8396 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.2659, allocations: 116.2 kB / 0.8397 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.2659, allocations: 3.938 kB / 0.8397 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2659, allocations: 0 / 0.8397 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2659, allocations: 3.938 kB / 0.8397 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.2663, allocations: 220.6 kB / 0.8399 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2663, allocations: 0 / 0.8399 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.293e-05/0.2664, allocations: 15.98 kB / 0.8399 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.2664, allocations: 0 / 0.8399 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2664, allocations: 0 / 0.8399 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.2664, allocations: 0 / 0.8399 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2664, allocations: 4 kB / 0.8399 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.2668, allocations: 211.2 kB / 0.8401 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.2669, allocations: 31.8 kB / 0.8402 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.267, allocations: 0 / 0.8402 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.2672, allocations: 11.98 kB / 0.8402 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.2672, allocations: 11.94 kB / 0.8402 GB, free: 328 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2672, allocations: 0 / 0.8402 GB, free: 328 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007275/0.2679, allocations: 407 kB / 0.8406 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2679, allocations: 0 / 0.8406 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004553/0.2684, allocations: 23.94 kB / 0.8406 GB, free: 15.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002554/0.2709, allocations: 0.9979 MB / 0.8416 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.2713, allocations: 47.94 kB / 0.8416 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2713, allocations: 0 / 0.8416 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.2714, allocations: 19.92 kB / 0.8416 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007147/0.2721, allocations: 55.92 kB / 0.8417 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.2771, allocations: 2.649 MB / 0.8443 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.2774, allocations: 173.8 kB / 0.8444 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.2775, allocations: 41.92 kB / 0.8445 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.2777, allocations: 87.41 kB / 0.8446 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of SimCode: time 1.313e-06/0.2777, allocations: 0 / 0.8446 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04446/0.3222, allocations: 5.929 MB / 0.8503 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.44, allocations: 6.641 kB / 0.8504 GB, free: 6.016 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.926347468048334] Failed to read output from testmodel.py, exit status != 0: 11.604262839071453 11.628697619 11.366754843 Calling exit ...