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.0008162/0.0008162, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000936/0.000936, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9785/0.9785, allocations: 230.6 MB / 256 MB, free: 9.617 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.8073/0.8073, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.000955/0.000955, allocations: 70.33 kB / 0.7182 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.497, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002319/0.4993, allocations: 1.788 MB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.5003, allocations: 0.549 MB / 0.8201 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.5004, allocations: 11.5 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.5006, allocations: 20.2 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.963e-05/0.5007, allocations: 29.66 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.5009, allocations: 60.62 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.5012, allocations: 176.4 kB / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.5013, allocations: 42.77 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.5014, allocations: 56.47 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.302e-05/0.5015, allocations: 49.2 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.5015, allocations: 9.562 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.5015, allocations: 10.16 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.378e-05/0.5016, allocations: 33.3 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.891e-05/0.5017, allocations: 57.58 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.5019, allocations: 129.3 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5019, allocations: 0 / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.287e-06/0.5019, allocations: 0.5156 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.5019, allocations: 7.781 kB / 0.8207 GB, free: 15.11 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.0007327/0.5026, allocations: 426.2 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5027, allocations: 9.094 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.5027, allocations: 45.42 kB / 0.8212 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.5028, allocations: 19.19 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.503, allocations: 175.6 kB / 0.8214 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.503, allocations: 15.81 kB / 0.8214 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.5031, allocations: 17.52 kB / 0.8214 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.5033, allocations: 148.4 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5033, allocations: 0.5156 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.5033, allocations: 1.344 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.5033, allocations: 3.781 kB / 0.8216 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.5035, allocations: 73.55 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006581/0.5041, allocations: 0.6902 MB / 0.8223 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.718e-05/0.5042, allocations: 49.02 kB / 0.8224 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.212e-05/0.5043, allocations: 29.09 kB / 0.8224 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.5043, allocations: 0 / 0.8224 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.5045, allocations: 132.9 kB / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.5045, allocations: 4 kB / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003061/0.5048, allocations: 170.9 kB / 0.8227 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.5049, allocations: 137.8 kB / 0.8228 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.505, allocations: 206.3 kB / 0.823 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.505, allocations: 31.55 kB / 0.823 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.5051, allocations: 130 kB / 0.8232 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.5051, allocations: 39.7 kB / 0.8232 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.5051, allocations: 49.36 kB / 0.8232 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.5052, allocations: 327.2 kB / 0.8236 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.29e-05/0.5053, allocations: 37.41 kB / 0.8236 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.5054, allocations: 143.3 kB / 0.8237 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.5056, allocations: 199.8 kB / 0.8239 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5056, allocations: 5.188 kB / 0.8239 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002469/0.5059, allocations: 205.4 kB / 0.8241 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5059, allocations: 12.36 kB / 0.8241 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.5059, allocations: 2.219 kB / 0.8241 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5059, allocations: 5.531 kB / 0.8241 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.314e-05/0.506, allocations: 33.77 kB / 0.8242 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.506, allocations: 5.938 kB / 0.8242 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.506, allocations: 29.38 kB / 0.8242 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.5061, allocations: 7.75 kB / 0.8242 GB, free: 12.24 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 7.882e-05/0.5061, allocations: 140.5 kB / 0.8243 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.5062, allocations: 21.41 kB / 0.8244 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.5062, allocations: 26.19 kB / 0.8244 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5062, allocations: 2.062 kB / 0.8244 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5062, allocations: 1.562 kB / 0.8244 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5062, allocations: 2.172 kB / 0.8244 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.5067, allocations: 478.7 kB / 0.8249 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5067, allocations: 1.828 kB / 0.8249 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.5067, allocations: 19.8 kB / 0.8249 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5067, allocations: 1.984 kB / 0.8249 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5067, allocations: 10.47 kB / 0.8249 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5067, allocations: 5.734 kB / 0.8249 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5067, allocations: 1.312 kB / 0.8249 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.5072, allocations: 353.8 kB / 0.8252 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.5072, allocations: 18.23 kB / 0.8252 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.5072, allocations: 7.172 kB / 0.8253 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.5073, allocations: 15.53 kB / 0.8253 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.5073, allocations: 23.78 kB / 0.8253 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.5074, allocations: 9.062 kB / 0.8253 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.99e-05/0.5074, allocations: 141.5 kB / 0.8254 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5074, allocations: 0 / 0.8254 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002182/0.5077, allocations: 38.88 kB / 0.8255 GB, free: 11.26 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.000462/0.5081, allocations: 0.8924 MB / 0.8263 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.5083, allocations: 114.5 kB / 0.8265 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5083, allocations: 0 / 0.8265 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.5084, allocations: 47.91 kB / 0.8265 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.5088, allocations: 73.66 kB / 0.8266 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.5105, allocations: 2.281 MB / 0.8288 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.43e-05/0.5106, allocations: 109.6 kB / 0.8289 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.957e-05/0.5106, allocations: 20.09 kB / 0.8289 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.5107, allocations: 49.19 kB / 0.829 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.5107, allocations: 1.094 kB / 0.829 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.5278, allocations: 4.78 MB / 0.8336 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.552/7.079, allocations: 7.844 kB / 0.8336 GB, free: 7.277 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.04885963210836] Failed to read output from testmodel.py, exit status != 0: 7.159496244974434 7.177684815 6.672758468 Calling exit ...