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.0007333/0.0007333, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007799/0.0007799, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.8498/0.8498, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001528/0.001528, allocations: 234.9 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6526/0.6526, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6462 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.324e-05, allocations: 6.219 kB / 0.6462 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.002941/0.002965, allocations: 1.673 MB / 0.6479 GB, free: 208 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2451/0.2481, allocations: 0.6408 MB / 0.6485 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2482, allocations: 0.8438 kB / 0.6485 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.2488, allocations: 174.6 kB / 0.6487 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000517/0.2493, allocations: 214.2 kB / 0.6489 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.2497, allocations: 193.4 kB / 0.6491 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000306/0.25, allocations: 221 kB / 0.6493 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.2501, allocations: 23.58 kB / 0.6493 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.2503, allocations: 101.7 kB / 0.6494 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.2505, allocations: 160.7 kB / 0.6495 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.2506, allocations: 12.94 kB / 0.6496 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.2507, allocations: 51.09 kB / 0.6496 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.038e-05/0.2508, allocations: 88.5 kB / 0.6497 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.2508, allocations: 51.83 kB / 0.6497 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.2511, allocations: 272.6 kB / 0.65 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2511, allocations: 0 / 0.65 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2511, allocations: 1.906 kB / 0.65 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2511, allocations: 0.7031 kB / 0.65 GB, free: 55.76 MB / 0.5573 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.0005603/0.2517, allocations: 0.5255 MB / 0.6505 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2517, allocations: 10.84 kB / 0.6505 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.2518, allocations: 37.38 kB / 0.6506 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.2518, allocations: 33.55 kB / 0.6506 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.2521, allocations: 320 kB / 0.6509 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2521, allocations: 1.562 kB / 0.6509 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.2521, allocations: 11.66 kB / 0.6509 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.2523, allocations: 70.98 kB / 0.651 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2523, allocations: 4.312 kB / 0.651 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.2523, allocations: 7.75 kB / 0.651 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2523, allocations: 3.188 kB / 0.651 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.2524, allocations: 50.55 kB / 0.651 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.2528, allocations: 380 kB / 0.6514 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.2529, allocations: 51.2 kB / 0.6515 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.253, allocations: 25.77 kB / 0.6515 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.253, allocations: 1.844 kB / 0.6515 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.253, allocations: 33.33 kB / 0.6515 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.253, allocations: 0 / 0.6515 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002551/0.2533, allocations: 124.7 kB / 0.6516 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.2533, allocations: 53.31 kB / 0.6517 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.2537, allocations: 0.5299 MB / 0.6522 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.2537, allocations: 25.7 kB / 0.6522 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.2538, allocations: 171.6 kB / 0.6524 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.2538, allocations: 7.266 kB / 0.6524 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.2539, allocations: 16.72 kB / 0.6524 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.2539, allocations: 347.3 kB / 0.6527 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.254, allocations: 21.39 kB / 0.6528 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.254, allocations: 20.09 kB / 0.6528 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.281e-05/0.2541, allocations: 43.27 kB / 0.6528 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2541, allocations: 2.625 kB / 0.6528 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000138/0.2542, allocations: 111.8 kB / 0.6529 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2542, allocations: 5.969 kB / 0.6529 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2542, allocations: 0 / 0.6529 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2543, allocations: 0 / 0.6529 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.2543, allocations: 11.72 kB / 0.653 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2543, allocations: 0 / 0.653 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.2544, allocations: 12.97 kB / 0.653 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.2544, allocations: 0 / 0.653 GB, free: 53.96 MB / 0.5573 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 9.236e-05/0.2545, allocations: 178.8 kB / 0.6531 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.2545, allocations: 30.34 kB / 0.6532 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.2547, allocations: 118.4 kB / 0.6533 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2547, allocations: 3.938 kB / 0.6533 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2547, allocations: 1.875 kB / 0.6533 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2547, allocations: 2.062 kB / 0.6533 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.2549, allocations: 221.5 kB / 0.6535 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2549, allocations: 1.844 kB / 0.6535 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.2549, allocations: 13.83 kB / 0.6535 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2549, allocations: 0.9844 kB / 0.6535 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2549, allocations: 2.25 kB / 0.6535 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2549, allocations: 2.062 kB / 0.6535 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2549, allocations: 0 / 0.6535 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.2551, allocations: 201.1 kB / 0.6537 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.2551, allocations: 35.91 kB / 0.6537 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.2551, allocations: 0.6094 kB / 0.6537 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.2552, allocations: 14.45 kB / 0.6538 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.2552, allocations: 8.969 kB / 0.6538 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.2552, allocations: 2.922 kB / 0.6538 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002791/0.2555, allocations: 399.7 kB / 0.6541 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2555, allocations: 0 / 0.6541 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000191/0.2557, allocations: 19.97 kB / 0.6542 GB, free: 53.21 MB / 0.5573 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.0009078/0.2566, allocations: 1.006 MB / 0.6551 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.2567, allocations: 47.5 kB / 0.6552 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2567, allocations: 3.938 kB / 0.6552 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.758e-05/0.2568, allocations: 28.19 kB / 0.6552 GB, free: 52.47 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.2571, allocations: 45.09 kB / 0.6553 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.2592, allocations: 2.658 MB / 0.6579 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.2593, allocations: 172 kB / 0.658 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.454e-05/0.2593, allocations: 36.59 kB / 0.6581 GB, free: 50.76 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.2594, allocations: 91.92 kB / 0.6581 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/0.2594, allocations: 0 / 0.6581 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.2797, allocations: 6.053 MB / 0.6641 GB, free: 49.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/7.078, allocations: 11.31 kB / 0.6641 GB, free: 49.25 MB / 0.5573 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.568430385552347] Failed to read output from testmodel.py, exit status != 0: 7.178169284015894 7.189266819 6.936088841 Calling exit ...