Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00142/0.00142, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002044/0.002044, allocations: 215.8 kB / 22.25 MB, free: 5.129 MB / 14.72 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8827/0.8827, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IDEAS_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.001977/0.001977, allocations: 61.72 kB / 0.6185 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1988, allocations: 85.93 MB / 0.7025 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003396/0.2022, allocations: 1.841 MB / 0.7043 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2034, allocations: 0.5844 MB / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.2035, allocations: 7.938 kB / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.2036, allocations: 27.72 kB / 0.7049 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.348e-05/0.2037, allocations: 23.73 kB / 0.7049 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.204, allocations: 79.8 kB / 0.705 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.2043, allocations: 171.4 kB / 0.7051 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.2044, allocations: 46 kB / 0.7052 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.998e-05/0.2045, allocations: 51.8 kB / 0.7052 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.2046, allocations: 55.7 kB / 0.7053 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.2046, allocations: 15.98 kB / 0.7053 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.2047, allocations: 8 kB / 0.7053 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.2047, allocations: 31.84 kB / 0.7053 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.2048, allocations: 67.55 kB / 0.7054 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.205, allocations: 123.4 kB / 0.7055 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.205, allocations: 0 / 0.7055 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.205, allocations: 4 kB / 0.7055 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.205, allocations: 0 / 0.7055 GB, free: 14.23 MB / 0.5294 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.0008183/0.2058, allocations: 443 kB / 0.7059 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2059, allocations: 8.031 kB / 0.7059 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.2059, allocations: 42.73 kB / 0.706 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.206, allocations: 16.84 kB / 0.706 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.2063, allocations: 182.2 kB / 0.7062 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2063, allocations: 8.375 kB / 0.7062 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.2064, allocations: 16.33 kB / 0.7062 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.2067, allocations: 154 kB / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2067, allocations: 4 kB / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.2067, allocations: 8 kB / 0.7063 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2067, allocations: 0 / 0.7063 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.2069, allocations: 71.88 kB / 0.7064 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.208, allocations: 0.7073 MB / 0.7071 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.2082, allocations: 46.5 kB / 0.7072 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2083, allocations: 32.83 kB / 0.7072 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.2083, allocations: 8 kB / 0.7072 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.2085, allocations: 115.7 kB / 0.7073 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.2085, allocations: 0 / 0.7073 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0004987/0.209, allocations: 173.6 kB / 0.7075 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.2091, allocations: 136.5 kB / 0.7076 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.2094, allocations: 195.2 kB / 0.7078 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.2094, allocations: 33.64 kB / 0.7078 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2095, allocations: 135.9 kB / 0.7079 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.2095, allocations: 35.73 kB / 0.708 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.2096, allocations: 45.72 kB / 0.708 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2097, allocations: 330.8 kB / 0.7083 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2099, allocations: 35.97 kB / 0.7084 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.2101, allocations: 151.2 kB / 0.7085 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.2104, allocations: 198.3 kB / 0.7087 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2104, allocations: 0 / 0.7087 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004051/0.2108, allocations: 213.1 kB / 0.7089 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2108, allocations: 4 kB / 0.7089 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2108, allocations: 4 kB / 0.7089 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.2109, allocations: 8.5 kB / 0.7089 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.211, allocations: 35.92 kB / 0.709 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.211, allocations: 4 kB / 0.709 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.2111, allocations: 27.88 kB / 0.709 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2112, allocations: 8 kB / 0.709 GB, free: 10.29 MB / 0.5294 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 0.000147/0.2113, allocations: 145.6 kB / 0.7091 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.2113, allocations: 19.86 kB / 0.7092 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.2114, allocations: 21.88 kB / 0.7092 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2114, allocations: 4 kB / 0.7092 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.2114, allocations: 11.98 kB / 0.7092 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2114, allocations: 0 / 0.7092 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/0.2122, allocations: 488.7 kB / 0.7097 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.2122, allocations: 3.984 kB / 0.7097 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.2123, allocations: 19.92 kB / 0.7097 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2123, allocations: 0 / 0.7097 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2124, allocations: 12 kB / 0.7097 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2124, allocations: 3.938 kB / 0.7097 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2124, allocations: 4 kB / 0.7097 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.2129, allocations: 362.7 kB / 0.71 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.2129, allocations: 15.84 kB / 0.7101 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.2129, allocations: 8 kB / 0.7101 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.2131, allocations: 19.95 kB / 0.7101 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.2132, allocations: 11.98 kB / 0.7101 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.2132, allocations: 4 kB / 0.7101 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001268/0.2133, allocations: 144.2 kB / 0.7102 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2133, allocations: 4 kB / 0.7102 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003296/0.2136, allocations: 31.95 kB / 0.7103 GB, free: 8.906 MB / 0.5294 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.0008583/0.2145, allocations: 0.9006 MB / 0.7112 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.2148, allocations: 112.6 kB / 0.7113 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2148, allocations: 192 / 0.7113 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.215, allocations: 51.91 kB / 0.7113 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.2155, allocations: 62.36 kB / 0.7114 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.2185, allocations: 2.272 MB / 0.7136 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.2189, allocations: 0.7241 MB / 0.7143 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.82e-05/0.219, allocations: 21.89 kB / 0.7143 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/0.2191, allocations: 51.42 kB / 0.7144 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/0.2191, allocations: 0 / 0.7144 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03795/0.2571, allocations: 4.229 MB / 0.7185 GB, free: 404 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.28, allocations: 4.578 kB / 0.7185 GB, free: 404 kB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_IntegratorWithReset.fmu > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.935385650023818] Failed to read output from testmodel.py, exit status != 0: 11.385612270096317 11.410019332 11.200416672 Calling exit ...