Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.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.000819/0.000819, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009514/0.0009514, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.081/1.081, allocations: 230.6 MB / 256 MB, free: 9.625 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.8082/0.8082, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",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.001052/0.001052, allocations: 67.27 kB / 0.7181 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6877, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002165/0.6899, allocations: 1.481 MB / 0.8192 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.6906, allocations: 445.7 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.6907, allocations: 4.906 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.6907, allocations: 4.734 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.742e-05/0.6908, allocations: 10.69 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.6909, allocations: 25.28 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.691, allocations: 53.05 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.6912, allocations: 10.11 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.6912, allocations: 22.25 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.6913, allocations: 20.97 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.6913, allocations: 2.688 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.6913, allocations: 3.625 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.6913, allocations: 24.02 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.6914, allocations: 17.7 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.6915, allocations: 39.42 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6915, allocations: 1.797 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6915, allocations: 0 / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6915, allocations: 4 kB / 0.8199 GB, free: 15.63 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005066/0.692, allocations: 288.6 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.6921, allocations: 10.34 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.6921, allocations: 37.23 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.6921, allocations: 4.484 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.6923, allocations: 122.9 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.6923, allocations: 4.812 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.6923, allocations: 8.969 kB / 0.8203 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.6924, allocations: 64.67 kB / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.6924, allocations: 0 / 0.8204 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.6924, allocations: 7.281 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.6924, allocations: 0 / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.925e-05/0.6925, allocations: 21.17 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.6929, allocations: 264.2 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.693, allocations: 50.81 kB / 0.8207 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.6931, allocations: 21.41 kB / 0.8207 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.6931, allocations: 1.344 kB / 0.8207 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.6933, allocations: 79.48 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.6933, allocations: 4 kB / 0.8208 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002238/0.6935, allocations: 100.8 kB / 0.8209 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.6935, allocations: 57.88 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.6936, allocations: 108.1 kB / 0.8211 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.6936, allocations: 32.39 kB / 0.8211 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.6937, allocations: 82.88 kB / 0.8212 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.6937, allocations: 26.42 kB / 0.8212 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.6937, allocations: 28.67 kB / 0.8212 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.6938, allocations: 320.7 kB / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.6939, allocations: 16.27 kB / 0.8215 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.728e-05/0.6939, allocations: 49.03 kB / 0.8216 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.694, allocations: 65.56 kB / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.694, allocations: 1.406 kB / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001109/0.6941, allocations: 97.23 kB / 0.8218 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6941, allocations: 7.016 kB / 0.8218 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.6941, allocations: 0 / 0.8218 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.6941, allocations: 3.359 kB / 0.8218 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.324e-05/0.6942, allocations: 15.17 kB / 0.8218 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6942, allocations: 4.594 kB / 0.8218 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.6942, allocations: 14.25 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.6943, allocations: 10.5 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.367e-05/0.6943, allocations: 123.9 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.6943, allocations: 2.281 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.6944, allocations: 10.84 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6944, allocations: 2.531 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6944, allocations: 0 / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6944, allocations: 0.5625 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.6947, allocations: 326.6 kB / 0.8223 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6947, allocations: 4 kB / 0.8223 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.6948, allocations: 6.25 kB / 0.8223 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.6948, allocations: 0 / 0.8223 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.6948, allocations: 5.859 kB / 0.8223 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6948, allocations: 3.938 kB / 0.8223 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6948, allocations: 1.219 kB / 0.8223 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.6949, allocations: 184 kB / 0.8224 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.27e-05/0.6949, allocations: 11.22 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.6949, allocations: 0.5156 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/0.695, allocations: 11.41 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.695, allocations: 7.078 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.695, allocations: 10.78 kB / 0.8225 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.6951, allocations: 84.19 kB / 0.8226 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6951, allocations: 0 / 0.8226 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001528/0.6952, allocations: 16.22 kB / 0.8226 GB, free: 13.16 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003318/0.6955, allocations: 0.7114 MB / 0.8233 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.6957, allocations: 50.89 kB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6957, allocations: 0 / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.032e-05/0.6957, allocations: 26.23 kB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.6959, allocations: 21.47 kB / 0.8234 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.697, allocations: 1.381 MB / 0.8247 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.55e-05/0.6971, allocations: 70.92 kB / 0.8248 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.6971, allocations: 8.531 kB / 0.8248 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.6971, allocations: 16.05 kB / 0.8248 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.6971, allocations: 1.5 kB / 0.8248 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.7171, allocations: 2.341 MB / 0.8271 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/7.578, allocations: 14.5 kB / 0.8271 GB, free: 10.17 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer_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_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.922859483864158] Failed to read output from testmodel.py, exit status != 0: 7.654492725152522 7.665203877 6.971601393 Calling exit ...