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.001113/0.001113, 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.00117/0.00117, allocations: 170.3 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.9646/0.9646, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7251/0.7251, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.383e-06/1.383e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.744e-05, allocations: 2.281 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.00189/0.001908, allocations: 1.473 MB / 0.6194 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006061/0.002514, allocations: 458.8 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.002551, allocations: 3.938 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.002581, allocations: 3.938 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.002657, allocations: 7.984 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.002807, allocations: 23.86 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.226e-05/0.002899, allocations: 47.84 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.003009, allocations: 15.97 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.044e-05/0.003079, allocations: 27.92 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.003137, allocations: 19.97 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.003163, allocations: 7.938 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-06/0.003172, allocations: 4 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.003196, allocations: 11.97 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.003229, allocations: 12 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.003329, allocations: 55.73 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003331, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.71e-07/0.003332, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003336, allocations: 0 / 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.0004586/0.003795, allocations: 286.3 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.003842, allocations: 9.469 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.003876, allocations: 38.75 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.003902, allocations: 0.9375 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.004003, allocations: 113.7 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.004018, allocations: 12.36 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.004029, allocations: 4.375 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/0.004127, allocations: 58.19 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.004137, allocations: 4.172 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.004148, allocations: 8.125 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.004152, allocations: 3.938 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.292e-05/0.004205, allocations: 27.98 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.004592, allocations: 263.8 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/0.004684, allocations: 50.66 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.004717, allocations: 28.78 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.004728, allocations: 0 / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.004876, allocations: 83.39 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 9.81e-07/0.004877, allocations: 0 / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0001924/0.005069, allocations: 93.62 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.005111, allocations: 63.39 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.005177, allocations: 105.8 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.005194, allocations: 29.7 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.005236, allocations: 88.12 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.005258, allocations: 19.86 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.005292, allocations: 29.7 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.005379, allocations: 318.8 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.005406, allocations: 15.98 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.005448, allocations: 47.42 kB / 0.6218 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.732e-05/0.005516, allocations: 63.38 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005518, allocations: 4 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001002/0.005618, allocations: 105.5 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.005631, allocations: 4 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.00564, allocations: 4 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.005651, allocations: 0 / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.005711, allocations: 8.281 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.005718, allocations: 7.984 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.005756, allocations: 7.938 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.005762, allocations: 4 kB / 0.622 GB, free: 9.395 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.055e-05/0.005832, allocations: 138.7 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-06/0.005838, allocations: 3.953 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.005864, allocations: 16.11 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.005866, allocations: 0 / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.005871, allocations: 384 / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.005874, allocations: 0 / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.006159, allocations: 329.5 kB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.00616, allocations: 0 / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.006175, allocations: 4 kB / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006177, allocations: 0 / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.006184, allocations: 4 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.006186, allocations: 0 / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006187, allocations: 0 / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.006301, allocations: 191.4 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.006308, allocations: 0 / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.006319, allocations: 4 kB / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.156e-05/0.00636, allocations: 7.984 kB / 0.6227 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.006402, allocations: 7.984 kB / 0.6227 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.006409, allocations: 7.938 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.006444, allocations: 83.27 kB / 0.6228 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006444, allocations: 0 / 0.6228 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001595/0.006603, allocations: 27.89 kB / 0.6228 GB, free: 8.508 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.0002994/0.006903, allocations: 0.7085 MB / 0.6235 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.007011, allocations: 51.92 kB / 0.6236 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007013, allocations: 0 / 0.6236 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.007051, allocations: 28.2 kB / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.007254, allocations: 15.66 kB / 0.6236 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009904/0.008244, allocations: 1.381 MB / 0.625 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.32e-05/0.008297, allocations: 67.34 kB / 0.625 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.648e-05/0.008324, allocations: 7.984 kB / 0.625 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.008366, allocations: 16.5 kB / 0.625 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of SimCode: time 6.12e-07/0.008366, allocations: 0 / 0.625 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.02441, allocations: 2.465 MB / 0.6275 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.032, allocations: 5.312 kB / 0.6275 GB, free: 3.789 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.92246975749731] Failed to read output from testmodel.py, exit status != 0: 7.114441880956292 7.123448072 7.118488056 Calling exit ...