Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.0008861/0.0008861, 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.001083/0.001083, allocations: 221.7 kB / 22.26 MB, free: 3.691 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 0.9761/0.9761, allocations: 230.6 MB / 256 MB, free: 9.801 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.8158/0.8158, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegratorWithReset",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.0009508/0.0009508, allocations: 70.89 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5096, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002553/0.5122, allocations: 1.85 MB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008502/0.5131, allocations: 0.5879 MB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.5132, allocations: 7.875 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.5133, allocations: 26.23 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.216e-05/0.5134, allocations: 32.27 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.5136, allocations: 66.62 kB / 0.8204 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000217/0.5138, allocations: 169.9 kB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.5139, allocations: 42.88 kB / 0.8206 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.514, allocations: 54.91 kB / 0.8206 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.056e-05/0.5141, allocations: 63.59 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.5141, allocations: 8.438 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.5141, allocations: 10.12 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.5142, allocations: 29.5 kB / 0.8207 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.5142, allocations: 64.64 kB / 0.8208 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.5144, allocations: 137.2 kB / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5144, allocations: 0 / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5144, allocations: 0 / 0.8209 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.5144, allocations: 0 / 0.8209 GB, free: 15.17 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000614/0.515, allocations: 435.7 kB / 0.8213 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5151, allocations: 12.25 kB / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.5151, allocations: 39.67 kB / 0.8214 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.5152, allocations: 21.72 kB / 0.8214 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.5154, allocations: 176.6 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.5154, allocations: 13.94 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.5154, allocations: 17.97 kB / 0.8216 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.5157, allocations: 159.7 kB / 0.8218 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.5157, allocations: 0 / 0.8218 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.5157, allocations: 4 kB / 0.8218 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.5157, allocations: 3.781 kB / 0.8218 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.5158, allocations: 66.25 kB / 0.8218 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007147/0.5165, allocations: 0.7101 MB / 0.8225 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.5166, allocations: 45.7 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.5167, allocations: 38.89 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.5167, allocations: 0.6562 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.5169, allocations: 126.6 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.5169, allocations: 1.312 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003775/0.5173, allocations: 164.4 kB / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.5174, allocations: 135.7 kB / 0.823 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.5176, allocations: 207.6 kB / 0.8232 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.5176, allocations: 33.52 kB / 0.8232 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.5177, allocations: 131.1 kB / 0.8234 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.5177, allocations: 45.62 kB / 0.8234 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.5177, allocations: 42.73 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5179, allocations: 328.8 kB / 0.8238 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.518, allocations: 37.83 kB / 0.8238 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.5181, allocations: 148.1 kB / 0.8239 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.5183, allocations: 199.2 kB / 0.8241 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5183, allocations: 0 / 0.8241 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002786/0.5186, allocations: 208.3 kB / 0.8243 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5186, allocations: 7.297 kB / 0.8243 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.5186, allocations: 4.438 kB / 0.8243 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5186, allocations: 9.5 kB / 0.8244 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/0.5187, allocations: 33.12 kB / 0.8244 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5187, allocations: 6.562 kB / 0.8244 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.5188, allocations: 28.03 kB / 0.8244 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.5188, allocations: 18.53 kB / 0.8244 GB, free: 12.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 8.58e-05/0.5189, allocations: 131 kB / 0.8246 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.5189, allocations: 21.23 kB / 0.8246 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.519, allocations: 27.12 kB / 0.8246 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.519, allocations: 3.172 kB / 0.8246 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.519, allocations: 0 / 0.8246 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.519, allocations: 1.562 kB / 0.8246 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.5194, allocations: 496.2 kB / 0.8251 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5194, allocations: 1.125 kB / 0.8251 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.5195, allocations: 21.3 kB / 0.8251 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5195, allocations: 1.125 kB / 0.8251 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.5195, allocations: 6.656 kB / 0.8251 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5195, allocations: 5.859 kB / 0.8251 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5195, allocations: 1.094 kB / 0.8251 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.5199, allocations: 363.2 kB / 0.8255 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.5199, allocations: 19.27 kB / 0.8255 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.5199, allocations: 7.25 kB / 0.8255 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.52, allocations: 15.14 kB / 0.8255 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.5201, allocations: 18.88 kB / 0.8255 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.5201, allocations: 4.469 kB / 0.8255 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.69e-05/0.5202, allocations: 145.5 kB / 0.8257 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5202, allocations: 0 / 0.8257 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002165/0.5204, allocations: 36.33 kB / 0.8257 GB, free: 11.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005404/0.5209, allocations: 0.895 MB / 0.8266 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.5212, allocations: 116.6 kB / 0.8267 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5212, allocations: 0 / 0.8267 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/0.5213, allocations: 47.56 kB / 0.8267 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.5217, allocations: 61.11 kB / 0.8268 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.524, allocations: 2.281 MB / 0.829 GB, free: 8.535 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.5243, allocations: 0.7197 MB / 0.8297 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.045e-05/0.5243, allocations: 24.53 kB / 0.8297 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.5244, allocations: 49.92 kB / 0.8298 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.5244, allocations: 0 / 0.8298 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.5421, allocations: 4.237 MB / 0.8339 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/7.275, allocations: 3.047 kB / 0.8339 GB, free: 7.184 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_IntegratorWithReset.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.282941243844107] Failed to read output from testmodel.py, exit status != 0: 7.353043300099671 7.363038614 6.846609824 Calling exit ...