Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008974/0.0008974, 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.0009/0.0009, allocations: 165.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.8862/0.8862, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7092/0.7092, allocations: 154.6 MB / 413.7 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.862e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001747/0.001766, allocations: 1.477 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007998/0.002565, allocations: 454.8 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.002602, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.002629, allocations: 3.938 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-05/0.00269, allocations: 15.86 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.002808, allocations: 27.86 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.002882, allocations: 51.83 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.002966, allocations: 8 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.00302, allocations: 35.91 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.003069, allocations: 15.97 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.003092, allocations: 4 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-06/0.003099, allocations: 4 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.003119, allocations: 11.92 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.003152, allocations: 19.97 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.643e-05/0.003238, allocations: 47.77 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00324, allocations: 0 / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00324, allocations: 0 / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.003245, allocations: 0 / 0.6202 GB, free: 11.55 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.0003375/0.003582, allocations: 286.3 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.003616, allocations: 8.031 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.719e-05/0.003643, allocations: 42.73 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.719e-05/0.00366, allocations: 0.9375 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.389e-05/0.003734, allocations: 109.8 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.003744, allocations: 4.375 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.003755, allocations: 8.375 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.06e-05/0.003836, allocations: 62.17 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.003842, allocations: 192 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.003851, allocations: 4.125 kB / 0.6207 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003855, allocations: 8 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.003902, allocations: 23.98 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.004237, allocations: 271.7 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/0.004316, allocations: 50.59 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.004345, allocations: 20.92 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.004356, allocations: 3.984 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.004464, allocations: 75.42 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.004464, allocations: 3.938 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0001609/0.004625, allocations: 101.6 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.004658, allocations: 55.41 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.00471, allocations: 109.8 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.004723, allocations: 33.7 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.004755, allocations: 84.14 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.004771, allocations: 23.78 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.004802, allocations: 29.7 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.004875, allocations: 326.8 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.004896, allocations: 12 kB / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.855e-05/0.004935, allocations: 47.42 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.073e-05/0.004996, allocations: 71.36 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004997, allocations: 0 / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.273e-05/0.00508, allocations: 89.64 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.005091, allocations: 7.938 kB / 0.6221 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.005098, allocations: 11.98 kB / 0.6221 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.005107, allocations: 0 / 0.6221 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.00516, allocations: 12 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.005164, allocations: 0 / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.005201, allocations: 15.92 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.005204, allocations: 0 / 0.6221 GB, free: 9.363 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 5.958e-05/0.005264, allocations: 130.7 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-06/0.00527, allocations: 3.953 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.072e-05/0.00529, allocations: 12.12 kB / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005292, allocations: 0 / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.005296, allocations: 0 / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.005298, allocations: 0 / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.005532, allocations: 321.9 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005533, allocations: 0 / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.005545, allocations: 7.984 kB / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005546, allocations: 4 kB / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.005553, allocations: 4.094 kB / 0.6226 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005554, allocations: 3.938 kB / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005554, allocations: 0 / 0.6226 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.488e-05/0.005649, allocations: 187.4 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.005655, allocations: 7.938 kB / 0.6227 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-06/0.005665, allocations: 4 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.005701, allocations: 0 / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.005734, allocations: 8.266 kB / 0.6228 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.005741, allocations: 15.92 kB / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.834e-05/0.005769, allocations: 83.27 kB / 0.6228 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005769, allocations: 4 kB / 0.6229 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001474/0.005917, allocations: 23.89 kB / 0.6229 GB, free: 8.484 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.0002656/0.006182, allocations: 0.7085 MB / 0.6236 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.177e-05/0.006274, allocations: 55.91 kB / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006275, allocations: 0 / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.006306, allocations: 20 kB / 0.6236 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.006484, allocations: 14.77 kB / 0.6237 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008845/0.007369, allocations: 1.374 MB / 0.625 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.569e-05/0.007415, allocations: 79.27 kB / 0.6251 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.936e-05/0.007434, allocations: 15.83 kB / 0.6251 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.007475, allocations: 24.48 kB / 0.6251 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.007476, allocations: 0 / 0.6251 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.0203, allocations: 2.458 MB / 0.6275 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.559/6.579, allocations: 4.062 kB / 0.6275 GB, free: 3.754 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.29244401305914] Failed to read output from testmodel.py, exit status != 0: 6.657289602793753 6.665897579 6.661006214 Calling exit ...