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.000924/0.000924, 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.001568/0.001568, allocations: 217.7 kB / 22.26 MB, free: 3.707 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 1.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.773 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.03917/0.03917, allocations: 12.17 MB / 324.6 MB, free: 6.363 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.0005863/0.0005863, allocations: 35.92 kB / 384.1 MB, free: 10.76 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.764/1.764, allocations: 353.8 MB / 0.7787 GB, free: 3.105 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.001525/0.001525, allocations: 124.9 kB / 1.06 GB, free: 25.05 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2392, allocations: 134.9 MB / 1.192 GB, free: 7.82 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001883/0.2411, allocations: 0.8754 MB / 1.193 GB, free: 6.945 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2425, allocations: 1.234 MB / 1.194 GB, free: 5.699 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.2425, allocations: 0 / 1.194 GB, free: 5.699 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.2426, allocations: 15.86 kB / 1.194 GB, free: 5.684 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.2427, allocations: 11.81 kB / 1.194 GB, free: 5.672 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.2432, allocations: 156 kB / 1.194 GB, free: 5.523 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.2434, allocations: 163.7 kB / 1.194 GB, free: 5.363 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.2436, allocations: 29.28 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.2437, allocations: 67.84 kB / 1.194 GB, free: 5.266 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.2438, allocations: 71.72 kB / 1.194 GB, free: 5.195 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.2438, allocations: 16 kB / 1.194 GB, free: 5.18 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.169e-05/0.2439, allocations: 31.92 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.2439, allocations: 23.92 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.244, allocations: 67.7 kB / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.2442, allocations: 171.6 kB / 1.195 GB, free: 4.891 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2442, allocations: 4 kB / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2442, allocations: 0 / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.2442, allocations: 0 / 1.195 GB, free: 4.887 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.0006067/0.2448, allocations: 422 kB / 1.195 GB, free: 4.426 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.2449, allocations: 8.031 kB / 1.195 GB, free: 4.418 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.2449, allocations: 42.73 kB / 1.195 GB, free: 4.367 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.245, allocations: 12.89 kB / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.2453, allocations: 194.3 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2453, allocations: 12.38 kB / 1.195 GB, free: 4.129 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.2453, allocations: 12.38 kB / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.2455, allocations: 89.95 kB / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2455, allocations: 0 / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2455, allocations: 4 kB / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2455, allocations: 0 / 1.195 GB, free: 4.02 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.98e-05/0.2456, allocations: 51.89 kB / 1.195 GB, free: 3.969 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.2461, allocations: 363.6 kB / 1.196 GB, free: 3.57 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/0.2462, allocations: 42.44 kB / 1.196 GB, free: 3.52 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.2463, allocations: 28.95 kB / 1.196 GB, free: 3.488 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2463, allocations: 0 / 1.196 GB, free: 3.488 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.2465, allocations: 95.36 kB / 1.196 GB, free: 3.383 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.2465, allocations: 0 / 1.196 GB, free: 3.383 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.000278/0.2468, allocations: 133.5 kB / 1.196 GB, free: 3.246 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.2468, allocations: 59.34 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.2469, allocations: 149.2 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.2469, allocations: 33.64 kB / 1.196 GB, free: 2.984 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.247, allocations: 115.9 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.247, allocations: 23.81 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.2471, allocations: 49.69 kB / 1.197 GB, free: 2.789 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.2472, allocations: 322.8 kB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-05/0.2473, allocations: 47.95 kB / 1.197 GB, free: 2.418 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.2474, allocations: 131.1 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.2476, allocations: 200.6 kB / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2476, allocations: 0 / 1.197 GB, free: 2.008 MB / 0.823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002963/0.2479, allocations: 251 kB / 1.197 GB, free: 1.75 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.2479, allocations: 37.69 kB / 1.197 GB, free: 1.707 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2479, allocations: 4 kB / 1.197 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2479, allocations: 4 kB / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.248, allocations: 27.86 kB / 1.197 GB, free: 1.672 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.248, allocations: 8 kB / 1.198 GB, free: 1.664 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.2481, allocations: 52.09 kB / 1.198 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.2481, allocations: 8 kB / 1.198 GB, free: 1.605 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 8.294e-05/0.2482, allocations: 135.4 kB / 1.198 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.2482, allocations: 11.94 kB / 1.198 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.2483, allocations: 8.719 kB / 1.198 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2483, allocations: 8.312 kB / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2483, allocations: 0 / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2483, allocations: 0 / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.2486, allocations: 377.4 kB / 1.198 GB, free: 1.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2486, allocations: 0 / 1.198 GB, free: 1.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.2487, allocations: 23.86 kB / 1.198 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.2487, allocations: 0 / 1.198 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2487, allocations: 0 / 1.198 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2487, allocations: 0 / 1.198 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2487, allocations: 0 / 1.198 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.249, allocations: 243.4 kB / 1.198 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.249, allocations: 19.98 kB / 1.198 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.249, allocations: 4 kB / 1.198 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.296e-05/0.249, allocations: 4.031 kB / 1.198 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.2491, allocations: 15.97 kB / 1.198 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.2491, allocations: 4 kB / 1.198 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.2491, allocations: 107.3 kB / 1.198 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2491, allocations: 0 / 1.198 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002031/0.2493, allocations: 31.98 kB / 1.199 GB, free: 0.5586 MB / 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.0004956/0.2498, allocations: 0.7825 MB / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.2501, allocations: 167.5 kB / 1.199 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2501, allocations: 0 / 1.199 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/0.2501, allocations: 40.59 kB / 1.199 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.2504, allocations: 29.17 kB / 1.2 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.252, allocations: 1.96 MB / 1.201 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.2522, allocations: 0.7045 MB / 1.202 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 4.992e-05/0.2522, allocations: 16.59 kB / 1.202 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.2523, allocations: 39.42 kB / 1.202 GB, free: 12.6 MB / 0.8387 GB Notification: Performance of SimCode: time 8.41e-07/0.2523, allocations: 0 / 1.202 GB, free: 12.6 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.2727, allocations: 3.348 MB / 1.205 GB, free: 9.406 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.609/6.881, allocations: 1.719 kB / 1.205 GB, free: 9.406 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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.627599989064038] Failed to read output from testmodel.py, exit status != 0: 6.960940089076757 6.971034858 6.724570562 Calling exit ...