Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0008108/0.0008108, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001011/0.001011, allocations: 222.9 kB / 22.26 MB, free: 3.691 MB / 13.93 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.004/1.004, allocations: 230.6 MB / 256 MB, free: 9.789 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8117/0.8117, allocations: 203.8 MB / 0.5042 GB, free: 10.3 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001543/0.001543, allocations: 66.55 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.576/0.5775, allocations: 102 MB / 0.8178 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.002365/0.5799, allocations: 1.722 MB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.5809, allocations: 0.6607 MB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.581, allocations: 6.094 kB / 0.8202 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.5815, allocations: 199 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.582, allocations: 209.4 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.5823, allocations: 193.3 kB / 0.8207 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000301/0.5826, allocations: 211.4 kB / 0.8209 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.5827, allocations: 22.17 kB / 0.8209 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.5829, allocations: 91.22 kB / 0.821 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.5831, allocations: 176.2 kB / 0.8212 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.5831, allocations: 11.44 kB / 0.8212 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-05/0.5832, allocations: 56.88 kB / 0.8213 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.5833, allocations: 79.28 kB / 0.8213 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.5834, allocations: 100.9 kB / 0.8214 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.5837, allocations: 272.9 kB / 0.8217 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5837, allocations: 0 / 0.8217 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.674e-06/0.5837, allocations: 0 / 0.8217 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.5837, allocations: 0 / 0.8217 GB, free: 14.97 MB / 0.6198 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.0006534/0.5843, allocations: 0.5418 MB / 0.8222 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5844, allocations: 18 kB / 0.8222 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.5844, allocations: 32.83 kB / 0.8223 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.5845, allocations: 35.08 kB / 0.8223 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.585, allocations: 318.5 kB / 0.8226 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.585, allocations: 2.375 kB / 0.8226 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.585, allocations: 10.75 kB / 0.8226 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.5851, allocations: 72.27 kB / 0.8227 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.5851, allocations: 0 / 0.8227 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.5851, allocations: 12.19 kB / 0.8227 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5851, allocations: 1.375 kB / 0.8227 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.5853, allocations: 52.2 kB / 0.8228 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.5857, allocations: 398.5 kB / 0.8231 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.5858, allocations: 44.17 kB / 0.8232 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.5859, allocations: 28.59 kB / 0.8232 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.5859, allocations: 5.734 kB / 0.8232 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.5859, allocations: 36.5 kB / 0.8232 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.5859, allocations: 0 / 0.8232 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002638/0.5862, allocations: 118.3 kB / 0.8234 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.5862, allocations: 56.84 kB / 0.8234 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.5867, allocations: 0.5363 MB / 0.8239 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.5867, allocations: 25.7 kB / 0.824 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.5868, allocations: 168.7 kB / 0.8241 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.5868, allocations: 7.062 kB / 0.8241 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.5869, allocations: 17.67 kB / 0.8241 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.587, allocations: 343.3 kB / 0.8245 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.587, allocations: 22.95 kB / 0.8245 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.5871, allocations: 23.95 kB / 0.8245 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.864e-05/0.5872, allocations: 40.88 kB / 0.8246 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5872, allocations: 4 kB / 0.8246 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001425/0.5873, allocations: 99.12 kB / 0.8247 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5873, allocations: 5.188 kB / 0.8247 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5873, allocations: 9.797 kB / 0.8247 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5873, allocations: 0 / 0.8247 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.5874, allocations: 11.05 kB / 0.8247 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.5874, allocations: 0.5156 kB / 0.8247 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.5874, allocations: 14.67 kB / 0.8247 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.5874, allocations: 1.312 kB / 0.8247 GB, free: 12.8 MB / 0.6198 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.0001176/0.5876, allocations: 176.2 kB / 0.8249 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.5876, allocations: 29.91 kB / 0.8249 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.5878, allocations: 117.5 kB / 0.825 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5878, allocations: 2.469 kB / 0.825 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5878, allocations: 0 / 0.825 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5878, allocations: 3.938 kB / 0.825 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.588, allocations: 235.7 kB / 0.8252 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.588, allocations: 0 / 0.8252 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.5881, allocations: 10.95 kB / 0.8252 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.5881, allocations: 3.984 kB / 0.8253 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.5881, allocations: 5.859 kB / 0.8253 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5881, allocations: 4 kB / 0.8253 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5881, allocations: 5.25 kB / 0.8253 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.5883, allocations: 203 kB / 0.8255 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.5883, allocations: 35.98 kB / 0.8255 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.5883, allocations: 2.266 kB / 0.8255 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-05/0.5884, allocations: 6.641 kB / 0.8255 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.5884, allocations: 10.5 kB / 0.8255 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.5884, allocations: 1.25 kB / 0.8255 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000331/0.5887, allocations: 400 kB / 0.8259 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5887, allocations: 0 / 0.8259 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001928/0.5889, allocations: 26.22 kB / 0.8259 GB, free: 12.02 MB / 0.6198 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.0008881/0.5898, allocations: 0.9822 MB / 0.8269 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001506/0.59, allocations: 47.08 kB / 0.8269 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.59, allocations: 0 / 0.8269 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.59, allocations: 25.17 kB / 0.8269 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.5904, allocations: 44.02 kB / 0.827 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.593, allocations: 2.671 MB / 0.8296 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.5933, allocations: 0.7729 MB / 0.8304 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.5934, allocations: 42.25 kB / 0.8304 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.5936, allocations: 92.72 kB / 0.8305 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.5936, allocations: 4 kB / 0.8305 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.6179, allocations: 5.35 MB / 0.8357 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.837/7.455, allocations: 5.156 kB / 0.8357 GB, free: 7.793 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.644153436180204] Failed to read output from testmodel.py, exit status != 0: 7.555632794043049 7.566595997 6.980926926 Calling exit ...