Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.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.001013/0.001013, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001208/0.001208, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.9725/0.9725, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03864/0.03864, allocations: 12.19 MB / 324.6 MB, free: 6.074 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.00059/0.00059, allocations: 26.91 kB / 384.1 MB, free: 10.5 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.727/1.727, allocations: 353.9 MB / 0.7787 GB, free: 4.512 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001399/0.001399, allocations: 129.2 kB / 1.06 GB, free: 24.76 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2428, allocations: 134.9 MB / 1.192 GB, free: 7.301 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001772/0.2446, allocations: 0.8296 MB / 1.193 GB, free: 6.473 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.2457, allocations: 1.211 MB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.2458, allocations: 0 / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.2458, allocations: 11.86 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.877e-05/0.2459, allocations: 15.86 kB / 1.194 GB, free: 5.223 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.2464, allocations: 156 kB / 1.194 GB, free: 5.074 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.2465, allocations: 171.6 kB / 1.194 GB, free: 4.906 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2467, allocations: 25.3 kB / 1.194 GB, free: 4.879 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-05/0.2468, allocations: 67.83 kB / 1.194 GB, free: 4.812 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.2468, allocations: 63.73 kB / 1.194 GB, free: 4.75 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.2469, allocations: 16 kB / 1.194 GB, free: 4.734 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.241e-05/0.2469, allocations: 27.98 kB / 1.194 GB, free: 4.707 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.247, allocations: 19.92 kB / 1.194 GB, free: 4.688 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.247, allocations: 59.77 kB / 1.194 GB, free: 4.629 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.2472, allocations: 175.6 kB / 1.194 GB, free: 4.457 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2472, allocations: 0 / 1.194 GB, free: 4.457 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2472, allocations: 0 / 1.194 GB, free: 4.457 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2473, allocations: 0 / 1.194 GB, free: 4.457 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006431/0.2479, allocations: 422 kB / 1.195 GB, free: 3.996 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.248, allocations: 8.031 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.248, allocations: 42.69 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.248, allocations: 12.89 kB / 1.195 GB, free: 3.926 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.2484, allocations: 188.5 kB / 1.195 GB, free: 3.719 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2484, allocations: 12.38 kB / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.2484, allocations: 16.31 kB / 1.195 GB, free: 3.691 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.2486, allocations: 101.9 kB / 1.195 GB, free: 3.586 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.2486, allocations: 0 / 1.195 GB, free: 3.586 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2486, allocations: 4 kB / 1.195 GB, free: 3.582 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2486, allocations: 0 / 1.195 GB, free: 3.582 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.2487, allocations: 47.95 kB / 1.195 GB, free: 3.535 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.2492, allocations: 339.6 kB / 1.196 GB, free: 3.16 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.797e-05/0.2493, allocations: 38.55 kB / 1.196 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.785e-05/0.2493, allocations: 28.97 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2493, allocations: 0 / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.2495, allocations: 99.28 kB / 1.196 GB, free: 2.973 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.2495, allocations: 0 / 1.196 GB, free: 2.973 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0004548/0.25, allocations: 133.5 kB / 1.196 GB, free: 2.836 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.25, allocations: 63.34 kB / 1.196 GB, free: 2.762 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.869e-05/0.2501, allocations: 137.8 kB / 1.196 GB, free: 2.617 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.2502, allocations: 37.69 kB / 1.196 GB, free: 2.574 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.2502, allocations: 111.9 kB / 1.196 GB, free: 2.461 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.2502, allocations: 27.8 kB / 1.196 GB, free: 2.434 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.2503, allocations: 45.69 kB / 1.196 GB, free: 2.383 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.2504, allocations: 322.8 kB / 1.197 GB, free: 2.059 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.2505, allocations: 81.66 kB / 1.197 GB, free: 1.973 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.2506, allocations: 158.9 kB / 1.197 GB, free: 1.773 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.2508, allocations: 208.6 kB / 1.197 GB, free: 1.523 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2508, allocations: 0 / 1.197 GB, free: 1.523 MB / 0.823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003053/0.2511, allocations: 277.3 kB / 1.197 GB, free: 1.234 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.2512, allocations: 37.73 kB / 1.197 GB, free: 1.191 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.2512, allocations: 4 kB / 1.197 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2512, allocations: 4 kB / 1.197 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.2513, allocations: 27.86 kB / 1.197 GB, free: 1.156 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.2513, allocations: 11.92 kB / 1.197 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2514, allocations: 43.86 kB / 1.197 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.2514, allocations: 11.98 kB / 1.197 GB, free: 1.09 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.923e-05/0.2515, allocations: 139.9 kB / 1.198 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.2515, allocations: 7.953 kB / 1.198 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.2515, allocations: 8.719 kB / 1.198 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2515, allocations: 7.938 kB / 1.198 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2515, allocations: 3.938 kB / 1.198 GB, free: 0.918 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2515, allocations: 3.984 kB / 1.198 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.2519, allocations: 357.5 kB / 1.198 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2519, allocations: 0 / 1.198 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.996e-05/0.2519, allocations: 27.92 kB / 1.198 GB, free: 500 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2519, allocations: 0 / 1.198 GB, free: 500 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2519, allocations: 4 kB / 1.198 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.252, allocations: 0 / 1.198 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.252, allocations: 4 kB / 1.198 GB, free: 492 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.2522, allocations: 239.4 kB / 1.198 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.2522, allocations: 19.84 kB / 1.198 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.2522, allocations: 0 / 1.198 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.2522, allocations: 16.03 kB / 1.198 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.2523, allocations: 7.984 kB / 1.198 GB, free: 192 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.2523, allocations: 4 kB / 1.198 GB, free: 188 kB / 0.823 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.2523, allocations: 105.8 kB / 1.198 GB, free: 84 kB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2523, allocations: 0 / 1.198 GB, free: 84 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001976/0.2525, allocations: 39.88 kB / 1.198 GB, free: 44 kB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0004632/0.253, allocations: 0.7788 MB / 1.199 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.2533, allocations: 200.9 kB / 1.199 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2533, allocations: 0 / 1.199 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.686e-05/0.2533, allocations: 39.91 kB / 1.199 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.2535, allocations: 20.67 kB / 1.199 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.2552, allocations: 2.09 MB / 1.201 GB, free: 12.69 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.935e-05/0.2552, allocations: 93.62 kB / 1.202 GB, free: 12.58 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.655e-05/0.2553, allocations: 16.64 kB / 1.202 GB, free: 12.57 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.2553, allocations: 35.42 kB / 1.202 GB, free: 12.53 MB / 0.8387 GB Notification: Performance of SimCode: time 9.42e-07/0.2553, allocations: 0 / 1.202 GB, free: 12.53 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.2728, allocations: 3.832 MB / 1.205 GB, free: 8.855 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.484/6.756, allocations: 3.953 kB / 1.205 GB, free: 8.855 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_IntegratorWithReset.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.22740755788982] Failed to read output from testmodel.py, exit status != 0: 6.835403168573976 6.845521768 6.596517958 Calling exit ...