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.001015/0.001015, 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.001231/0.001231, allocations: 169.9 kB / 22.46 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.974/0.974, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7156/0.7156, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.046e-05, allocations: 9.047 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002066/0.002086, allocations: 1.494 MB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006594/0.002746, allocations: 454.8 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.465e-05/0.002791, allocations: 4 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.002823, allocations: 3.938 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.002905, allocations: 7.922 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.003079, allocations: 15.98 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.00317, allocations: 59.83 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.003282, allocations: 4 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.817e-05/0.00336, allocations: 39.84 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.697e-05/0.003427, allocations: 15.91 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.003455, allocations: 4 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.003466, allocations: 4 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.00349, allocations: 11.98 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.003529, allocations: 15.98 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.003638, allocations: 43.81 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00364, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.253e-06/0.003642, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.003646, allocations: 8 kB / 0.6201 GB, free: 11.58 MB / 0.5886 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.0004808/0.004127, allocations: 278.3 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.00417, allocations: 13.47 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.004204, allocations: 38.73 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.004233, allocations: 8.891 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.004335, allocations: 109.7 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.004346, allocations: 8.312 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.004357, allocations: 4.375 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.004625, allocations: 62.23 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.004635, allocations: 4.125 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.004646, allocations: 8.125 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004652, allocations: 0 / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/0.004708, allocations: 31.92 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.005115, allocations: 271.8 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.005205, allocations: 50.56 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.005239, allocations: 16.95 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.005249, allocations: 4 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.005387, allocations: 75.41 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.005389, allocations: 4 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002005/0.005589, allocations: 97.61 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.005629, allocations: 59.41 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.352e-05/0.005693, allocations: 109.8 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.005706, allocations: 25.7 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.005748, allocations: 84.14 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.005773, allocations: 23.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.005807, allocations: 33.7 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.005896, allocations: 318.8 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.005921, allocations: 12 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.082e-05/0.005962, allocations: 55.36 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.797e-05/0.00603, allocations: 63.42 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.006032, allocations: 0 / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.399e-05/0.006126, allocations: 97.52 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.006141, allocations: 8 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.006146, allocations: 64 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.006161, allocations: 7.984 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.235e-05/0.006223, allocations: 8 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.00623, allocations: 4 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.006266, allocations: 11.97 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.006274, allocations: 7.984 kB / 0.622 GB, free: 9.391 MB / 0.5886 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.349e-05/0.006348, allocations: 127.1 kB / 0.6222 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-06/0.006355, allocations: 7.953 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.006383, allocations: 8.125 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006385, allocations: 288 / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.00639, allocations: 3.938 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.006395, allocations: 4 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.00667, allocations: 325.5 kB / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.006671, allocations: 4 kB / 0.6225 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.006684, allocations: 4 kB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.006688, allocations: 3.984 kB / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.006695, allocations: 0 / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.006695, allocations: 4 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006696, allocations: 0 / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.006805, allocations: 183.4 kB / 0.6227 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.006815, allocations: 15.88 kB / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.00683, allocations: 0 / 0.6227 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.006871, allocations: 4 kB / 0.6227 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.006914, allocations: 15.92 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.006922, allocations: 11.92 kB / 0.6227 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.006954, allocations: 79.28 kB / 0.6228 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006954, allocations: 0 / 0.6228 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001572/0.007111, allocations: 16 kB / 0.6228 GB, free: 8.512 MB / 0.5886 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.0003043/0.007415, allocations: 0.7046 MB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.007523, allocations: 52.2 kB / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007524, allocations: 3.938 kB / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.007563, allocations: 27.92 kB / 0.6236 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.007763, allocations: 19.98 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009688/0.008731, allocations: 1.37 MB / 0.625 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.15e-05/0.008793, allocations: 71.33 kB / 0.625 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.628e-05/0.008819, allocations: 4 kB / 0.625 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.008866, allocations: 20.48 kB / 0.625 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.008867, allocations: 0 / 0.625 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.02666, allocations: 2.464 MB / 0.6274 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.217, allocations: 2.891 kB / 0.6275 GB, free: 3.793 MB / 0.5886 GB " [Timeout remaining time 653] (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.399370504543185] Failed to read output from testmodel.py, exit status != 0: 7.297482884489 7.306160576 7.300716131 Calling exit ...