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.0007938/0.0007938, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008162/0.0008162, allocations: 218.7 kB / 22.25 MB, free: 3.57 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 0.9363/0.9363, allocations: 230.6 MB / 256 MB, free: 9.602 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.7795/0.7795, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.001014/0.001014, allocations: 71.2 kB / 0.7181 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5304, allocations: 102 MB / 0.8177 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.002397/0.5328, allocations: 1.685 MB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.534, allocations: 0.6358 MB / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.5341, allocations: 3.938 kB / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006748/0.5347, allocations: 189.6 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005791/0.5353, allocations: 207 kB / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.5357, allocations: 195.6 kB / 0.8206 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.536, allocations: 215.5 kB / 0.8208 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.5361, allocations: 18.11 kB / 0.8208 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.5362, allocations: 95.77 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.5364, allocations: 169.8 kB / 0.8211 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.5365, allocations: 11.94 kB / 0.8211 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.5365, allocations: 45.81 kB / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.5366, allocations: 85.92 kB / 0.8212 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.5367, allocations: 75.05 kB / 0.8213 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.537, allocations: 279.6 kB / 0.8215 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.537, allocations: 3.938 kB / 0.8215 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.537, allocations: 1 kB / 0.8215 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.537, allocations: 0 / 0.8215 GB, free: 14.85 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.0007715/0.5378, allocations: 0.5402 MB / 0.8221 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.5379, allocations: 10.52 kB / 0.8221 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.5379, allocations: 36.67 kB / 0.8221 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.538, allocations: 38.17 kB / 0.8221 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.5385, allocations: 318.6 kB / 0.8225 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.5385, allocations: 6.125 kB / 0.8225 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.5385, allocations: 1.719 kB / 0.8225 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.5387, allocations: 80.06 kB / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.5387, allocations: 0 / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.5387, allocations: 0 / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.5387, allocations: 1.625 kB / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.5388, allocations: 53.59 kB / 0.8226 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.5393, allocations: 382.1 kB / 0.823 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.5394, allocations: 48.3 kB / 0.823 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.5395, allocations: 25.34 kB / 0.823 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.5395, allocations: 1.406 kB / 0.823 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.5396, allocations: 32.34 kB / 0.8231 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.5396, allocations: 0 / 0.8231 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002792/0.5398, allocations: 126.2 kB / 0.8232 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.5399, allocations: 52.47 kB / 0.8232 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.5404, allocations: 0.5372 MB / 0.8238 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.5404, allocations: 29.64 kB / 0.8238 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5405, allocations: 169.3 kB / 0.8239 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.5405, allocations: 9.844 kB / 0.824 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.5406, allocations: 14.11 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5407, allocations: 343.5 kB / 0.8243 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.301e-05/0.5407, allocations: 19.03 kB / 0.8243 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-05/0.5408, allocations: 24.78 kB / 0.8243 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.5409, allocations: 44.36 kB / 0.8244 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5409, allocations: 0 / 0.8244 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001496/0.541, allocations: 100.3 kB / 0.8245 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.541, allocations: 5.844 kB / 0.8245 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.5411, allocations: 0 / 0.8245 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5411, allocations: 7.938 kB / 0.8245 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.5411, allocations: 11.03 kB / 0.8245 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5411, allocations: 1.312 kB / 0.8245 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.5412, allocations: 18.19 kB / 0.8245 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.5412, allocations: 1.188 kB / 0.8245 GB, free: 12.69 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.0001132/0.5413, allocations: 168.3 kB / 0.8247 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.5413, allocations: 29.41 kB / 0.8247 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.5416, allocations: 122.1 kB / 0.8248 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5416, allocations: 6.062 kB / 0.8248 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5416, allocations: 3.984 kB / 0.8248 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5416, allocations: 5.656 kB / 0.8248 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.5418, allocations: 220 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5418, allocations: 1.062 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.5418, allocations: 10.66 kB / 0.8251 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5418, allocations: 0.5625 kB / 0.8251 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.5418, allocations: 1.281 kB / 0.8251 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5418, allocations: 0.8906 kB / 0.8251 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5418, allocations: 0 / 0.8251 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.542, allocations: 212.9 kB / 0.8253 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.5421, allocations: 36.47 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.5421, allocations: 0.5625 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.09e-05/0.5421, allocations: 7.703 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.5422, allocations: 6 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.5422, allocations: 5.578 kB / 0.8253 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003213/0.5425, allocations: 400.6 kB / 0.8257 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5425, allocations: 0 / 0.8257 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001902/0.5427, allocations: 20.73 kB / 0.8257 GB, free: 11.92 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.001002/0.5437, allocations: 1.001 MB / 0.8267 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.5439, allocations: 52.88 kB / 0.8267 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5439, allocations: 0 / 0.8267 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.736e-05/0.5439, allocations: 22.98 kB / 0.8268 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.5443, allocations: 40.44 kB / 0.8268 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.5467, allocations: 2.671 MB / 0.8294 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.5468, allocations: 164.9 kB / 0.8296 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.241e-05/0.5469, allocations: 41.42 kB / 0.8296 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.547, allocations: 89.78 kB / 0.8297 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.547, allocations: 0 / 0.8297 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.578, allocations: 5.917 MB / 0.8355 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/7.406, allocations: 10.09 kB / 0.8355 GB, free: 7.738 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.377504719886929] Failed to read output from testmodel.py, exit status != 0: 7.507723542395979 7.522685046 6.983500304 Calling exit ...