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.001107/0.001107, 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.001336/0.001336, 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.9116/0.9116, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7034/0.7034, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.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: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.165e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002411/0.002433, allocations: 1.791 MB / 0.6199 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008379/0.003271, allocations: 0.5455 MB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.757e-05/0.003368, allocations: 3.938 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.003494, allocations: 31.67 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.153e-05/0.003556, allocations: 31.72 kB / 0.6205 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.00377, allocations: 75.78 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.003967, allocations: 171.4 kB / 0.6207 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.004107, allocations: 29.78 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.004212, allocations: 83.78 kB / 0.6208 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.004272, allocations: 35.89 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.004301, allocations: 8 kB / 0.6208 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.004315, allocations: 12 kB / 0.6209 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.004348, allocations: 31.84 kB / 0.6209 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.004397, allocations: 39.84 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.004567, allocations: 135.4 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.00457, allocations: 8 kB / 0.6211 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/0.004571, allocations: 0 / 0.6211 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.004577, allocations: 0 / 0.6211 GB, free: 10.66 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006309/0.005208, allocations: 431.1 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.005253, allocations: 8.031 kB / 0.6215 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.005288, allocations: 46.73 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.005321, allocations: 20.8 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.005559, allocations: 181.4 kB / 0.6217 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.00558, allocations: 8.375 kB / 0.6217 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.005605, allocations: 16.36 kB / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.005817, allocations: 150.1 kB / 0.6219 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.005826, allocations: 192 / 0.6219 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.005839, allocations: 8.062 kB / 0.6219 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.005846, allocations: 4 kB / 0.6219 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.005979, allocations: 77.94 kB / 0.622 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.006703, allocations: 0.6762 MB / 0.6226 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.006817, allocations: 42.56 kB / 0.6227 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.006877, allocations: 32.83 kB / 0.6227 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.006904, allocations: 7.938 kB / 0.6227 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.007079, allocations: 133.7 kB / 0.6228 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.00708, allocations: 0 / 0.6228 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003142/0.007394, allocations: 177.2 kB / 0.623 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.007451, allocations: 128.5 kB / 0.6231 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.007586, allocations: 200.3 kB / 0.6233 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.007601, allocations: 25.7 kB / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.007667, allocations: 132.2 kB / 0.6235 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.007693, allocations: 39.69 kB / 0.6235 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.007737, allocations: 41.7 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.37e-05/0.007821, allocations: 326.8 kB / 0.6239 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.007895, allocations: 39.97 kB / 0.6239 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.008004, allocations: 146.5 kB / 0.624 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.008209, allocations: 206.5 kB / 0.6242 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.008214, allocations: 7.938 kB / 0.6242 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002415/0.008455, allocations: 209.4 kB / 0.6244 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.00847, allocations: 8 kB / 0.6244 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.008478, allocations: 4 kB / 0.6244 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.008492, allocations: 4 kB / 0.6245 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.008567, allocations: 35.92 kB / 0.6245 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.008575, allocations: 4 kB / 0.6245 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.008652, allocations: 23.88 kB / 0.6245 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.008665, allocations: 16.23 kB / 0.6245 GB, free: 6.742 MB / 0.5886 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.0002324/0.008897, allocations: 138.9 kB / 0.6247 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.008917, allocations: 15.91 kB / 0.6247 GB, free: 6.582 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.00895, allocations: 25.45 kB / 0.6247 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.008954, allocations: 4 kB / 0.6247 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.00896, allocations: 0 / 0.6247 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.008965, allocations: 11.88 kB / 0.6247 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.009441, allocations: 480.6 kB / 0.6252 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009443, allocations: 0 / 0.6252 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.009503, allocations: 23.98 kB / 0.6252 GB, free: 6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.009506, allocations: 4 kB / 0.6252 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.009516, allocations: 0 / 0.6252 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.009519, allocations: 4 kB / 0.6252 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.009522, allocations: 7.922 kB / 0.6252 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.009827, allocations: 348.4 kB / 0.6255 GB, free: 5.621 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.009849, allocations: 19.84 kB / 0.6256 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.009868, allocations: 8 kB / 0.6256 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.009957, allocations: 15.98 kB / 0.6256 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.01, allocations: 23.84 kB / 0.6256 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.01001, allocations: 4 kB / 0.6256 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.01009, allocations: 143.1 kB / 0.6257 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01009, allocations: 3.938 kB / 0.6258 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002311/0.01033, allocations: 28 kB / 0.6258 GB, free: 5.379 MB / 0.5886 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.0004885/0.01081, allocations: 0.8928 MB / 0.6267 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.01102, allocations: 111.8 kB / 0.6268 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01102, allocations: 1 kB / 0.6268 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.0111, allocations: 48.03 kB / 0.6268 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.01149, allocations: 74.09 kB / 0.6269 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.01326, allocations: 2.243 MB / 0.6291 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.215e-05/0.01333, allocations: 108.3 kB / 0.6292 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.016e-05/0.0134, allocations: 21.47 kB / 0.6292 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.01346, allocations: 52.48 kB / 0.6292 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/0.01347, allocations: 0 / 0.6292 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.03567, allocations: 4.894 MB / 0.634 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.1, allocations: 4.391 kB / 0.634 GB, free: 12.91 MB / 0.6042 GB " [Timeout remaining time 653] (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: 9.766211004927754] Failed to read output from testmodel.py, exit status != 0: 7.185785286128521 7.195166129 7.188774333 Calling exit ...