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.001108/0.001108, 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.001359/0.001359, allocations: 221.6 kB / 22.26 MB, free: 3.688 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.065/1.065, allocations: 230.6 MB / 256 MB, free: 9.797 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.8708/0.8708, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.00108/0.00108, allocations: 71.25 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7185/0.7196, allocations: 102 MB / 0.8178 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.00208/0.7216, allocations: 1.492 MB / 0.8193 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000716/0.7224, allocations: 486.5 kB / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.7224, allocations: 0 / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.7224, allocations: 6.234 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.88e-05/0.7225, allocations: 10.72 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.7227, allocations: 17.86 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.7228, allocations: 63.05 kB / 0.8198 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.723, allocations: 17.12 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.316e-05/0.723, allocations: 23.48 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.7231, allocations: 20.83 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.7231, allocations: 3.375 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.7231, allocations: 4.562 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.7232, allocations: 13.28 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.7232, allocations: 28.03 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.7233, allocations: 39.98 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7233, allocations: 0 / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.216e-06/0.7233, allocations: 8.594 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.7234, allocations: 0 / 0.82 GB, free: 15.75 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.0004996/0.7238, allocations: 287.1 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.7239, allocations: 9.312 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.7239, allocations: 39.12 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.724, allocations: 5.641 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.7241, allocations: 115.5 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.7241, allocations: 4.031 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.7241, allocations: 8.281 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.7242, allocations: 61.33 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7242, allocations: 3.938 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.7242, allocations: 1.891 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.7242, allocations: 3.594 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.571e-05/0.7243, allocations: 21.22 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.7247, allocations: 269.5 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.7249, allocations: 57.39 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.7249, allocations: 26.08 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.7249, allocations: 0 / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.7251, allocations: 75.8 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.7251, allocations: 0 / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002158/0.7253, allocations: 95.31 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.7254, allocations: 64.8 kB / 0.8211 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.7254, allocations: 109.1 kB / 0.8212 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.7255, allocations: 33.23 kB / 0.8212 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.7255, allocations: 87.48 kB / 0.8213 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.7255, allocations: 24.36 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.7256, allocations: 25.03 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.7257, allocations: 320.6 kB / 0.8217 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/0.7257, allocations: 16 kB / 0.8217 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.453e-05/0.7257, allocations: 53.08 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.932e-05/0.7258, allocations: 64.23 kB / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7258, allocations: 0 / 0.8218 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001207/0.7259, allocations: 102.2 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.726, allocations: 6.094 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.726, allocations: 5.281 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.726, allocations: 1.625 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.802e-05/0.7261, allocations: 15.48 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.7261, allocations: 0.6094 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.7261, allocations: 8.219 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.7261, allocations: 8.188 kB / 0.8219 GB, free: 13.98 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.705e-05/0.7262, allocations: 121.9 kB / 0.822 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.7262, allocations: 3.344 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.932e-05/0.7262, allocations: 12.58 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7262, allocations: 1.5 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.7262, allocations: 0.75 kB / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.7263, allocations: 0 / 0.8221 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.7266, allocations: 334.6 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.7266, allocations: 2.562 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.7266, allocations: 3.859 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.7266, allocations: 0 / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.7266, allocations: 3.75 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7267, allocations: 8 kB / 0.8224 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7267, allocations: 4 kB / 0.8224 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.7268, allocations: 187.4 kB / 0.8226 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.7268, allocations: 5.719 kB / 0.8226 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.7268, allocations: 4.438 kB / 0.8226 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.7269, allocations: 10 kB / 0.8226 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.7269, allocations: 9.797 kB / 0.8226 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.7269, allocations: 0.6094 kB / 0.8226 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.36e-05/0.7269, allocations: 89.41 kB / 0.8227 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.7269, allocations: 0 / 0.8227 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001516/0.7271, allocations: 11.8 kB / 0.8227 GB, free: 13.27 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.000359/0.7275, allocations: 0.7114 MB / 0.8234 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.7276, allocations: 55.66 kB / 0.8235 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7276, allocations: 3.938 kB / 0.8235 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.199e-05/0.7276, allocations: 22.62 kB / 0.8235 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.7279, allocations: 21.64 kB / 0.8235 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.7291, allocations: 1.383 MB / 0.8249 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.7293, allocations: 0.6866 MB / 0.8255 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.7293, allocations: 11.73 kB / 0.8255 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.7294, allocations: 15.03 kB / 0.8256 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of SimCode: time 7.42e-07/0.7294, allocations: 0 / 0.8256 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.7493, allocations: 1.908 MB / 0.8274 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.746, allocations: 13.17 kB / 0.8274 GB, free: 10.1 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: 11.225890981964767] Failed to read output from testmodel.py, exit status != 0: 7.825538202887401 7.839195196 7.113565062 Calling exit ...