Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.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.000948/0.000948, allocations: 113.9 kB / 18.94 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.001386/0.001386, allocations: 217.2 kB / 22.26 MB, free: 3.699 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.9643/0.9643, allocations: 230.6 MB / 256 MB, free: 9.797 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.03896/0.03896, allocations: 12.19 MB / 324.6 MB, free: 6.258 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.0005327/0.0005327, allocations: 27.95 kB / 384.1 MB, free: 10.66 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.742/1.742, allocations: 353.8 MB / 0.7787 GB, free: 3.121 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.Integers.Validation.OnCounter,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_OnCounter",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.002272/0.002272, allocations: 127.3 kB / 1.06 GB, free: 25 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2324, allocations: 134.9 MB / 1.192 GB, free: 7.883 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001495/0.2339, allocations: 0.6704 MB / 1.192 GB, free: 7.215 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.2351, allocations: 1.258 MB / 1.194 GB, free: 5.945 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.2352, allocations: 0 / 1.194 GB, free: 5.945 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.2352, allocations: 3.938 kB / 1.194 GB, free: 5.941 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.075e-05/0.2353, allocations: 15.92 kB / 1.194 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.2358, allocations: 222.6 kB / 1.194 GB, free: 5.715 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.2361, allocations: 187.6 kB / 1.194 GB, free: 5.531 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.2362, allocations: 11.98 kB / 1.194 GB, free: 5.52 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.2362, allocations: 67.89 kB / 1.194 GB, free: 5.453 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.2364, allocations: 63.84 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.2364, allocations: 16 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.701e-05/0.2364, allocations: 35.98 kB / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.2365, allocations: 15.92 kB / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.2365, allocations: 51.89 kB / 1.194 GB, free: 5.273 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.2367, allocations: 163.7 kB / 1.194 GB, free: 5.113 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2367, allocations: 0 / 1.194 GB, free: 5.113 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2367, allocations: 0 / 1.194 GB, free: 5.113 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2367, allocations: 4 kB / 1.194 GB, free: 5.109 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004465/0.2372, allocations: 365.5 kB / 1.195 GB, free: 4.711 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2372, allocations: 8.031 kB / 1.195 GB, free: 4.703 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.441e-05/0.2372, allocations: 34.75 kB / 1.195 GB, free: 4.66 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.2373, allocations: 12.94 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.297e-05/0.2374, allocations: 110.5 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.2374, allocations: 8.359 kB / 1.195 GB, free: 4.508 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.2374, allocations: 20.12 kB / 1.195 GB, free: 4.488 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.544e-05/0.2375, allocations: 45.67 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2375, allocations: 3.938 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2375, allocations: 0 / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2375, allocations: 4 kB / 1.195 GB, free: 4.43 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.831e-05/0.2376, allocations: 8 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.238, allocations: 335.8 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.503e-05/0.2381, allocations: 30.58 kB / 1.195 GB, free: 4.012 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.2381, allocations: 20.88 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.2381, allocations: 0 / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.2382, allocations: 91.25 kB / 1.196 GB, free: 3.887 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.2382, allocations: 8 kB / 1.196 GB, free: 3.879 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0002324/0.2385, allocations: 129.5 kB / 1.196 GB, free: 3.746 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.2385, allocations: 55.41 kB / 1.196 GB, free: 3.68 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/0.2386, allocations: 117.7 kB / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.2386, allocations: 37.7 kB / 1.196 GB, free: 3.512 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.2386, allocations: 100.3 kB / 1.196 GB, free: 3.406 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.2387, allocations: 11.91 kB / 1.196 GB, free: 3.395 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.2387, allocations: 53.69 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.382e-05/0.2388, allocations: 326.8 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.574e-05/0.2389, allocations: 63.91 kB / 1.196 GB, free: 2.945 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.239, allocations: 106 kB / 1.196 GB, free: 2.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.2392, allocations: 189.3 kB / 1.197 GB, free: 2.602 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2392, allocations: 0 / 1.197 GB, free: 2.602 MB / 0.823 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002947/0.2395, allocations: 280.8 kB / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.2395, allocations: 71.39 kB / 1.197 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2395, allocations: 4.156 kB / 1.197 GB, free: 2.223 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2395, allocations: 4 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.2396, allocations: 7.984 kB / 1.197 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2396, allocations: 0 / 1.197 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.2398, allocations: 63.83 kB / 1.197 GB, free: 2.148 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.2398, allocations: 15.92 kB / 1.197 GB, free: 2.133 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.892e-05/0.2399, allocations: 129.8 kB / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.2399, allocations: 7.953 kB / 1.197 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.2399, allocations: 12.38 kB / 1.197 GB, free: 1.973 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2399, allocations: 0 / 1.197 GB, free: 1.973 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2399, allocations: 0 / 1.197 GB, free: 1.973 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2399, allocations: 0 / 1.197 GB, free: 1.973 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.2401, allocations: 333.5 kB / 1.198 GB, free: 1.598 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2401, allocations: 3.938 kB / 1.198 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-06/0.2402, allocations: 4 kB / 1.198 GB, free: 1.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2402, allocations: 4 kB / 1.198 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2402, allocations: 4.469 kB / 1.198 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2402, allocations: 3.938 kB / 1.198 GB, free: 1.578 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2402, allocations: 0 / 1.198 GB, free: 1.578 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.2403, allocations: 207.3 kB / 1.198 GB, free: 1.359 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.2403, allocations: 4.078 kB / 1.198 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.2403, allocations: 4 kB / 1.198 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.355e-05/0.2404, allocations: 3.938 kB / 1.198 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.2404, allocations: 19.92 kB / 1.198 GB, free: 1.328 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.2404, allocations: 0 / 1.198 GB, free: 1.328 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.2404, allocations: 95.81 kB / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2404, allocations: 0 / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001849/0.2406, allocations: 32 kB / 1.198 GB, free: 1.203 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003571/0.241, allocations: 0.7378 MB / 1.199 GB, free: 452 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.2412, allocations: 230.7 kB / 1.199 GB, free: 196 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2412, allocations: 0 / 1.199 GB, free: 196 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.619e-05/0.2413, allocations: 27.92 kB / 1.199 GB, free: 168 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.2415, allocations: 26.33 kB / 1.199 GB, free: 144 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.2429, allocations: 1.875 MB / 1.201 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.2431, allocations: 0.6898 MB / 1.201 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.2432, allocations: 4.672 kB / 1.201 GB, free: 13.42 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.2432, allocations: 27.36 kB / 1.201 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of SimCode: time 4.7e-07/0.2432, allocations: 4 kB / 1.201 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.2613, allocations: 3.165 MB / 1.205 GB, free: 10.38 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.384/6.646, allocations: 10.34 kB / 1.205 GB, free: 10.37 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.221918482333422] Failed to read output from testmodel.py, exit status != 0: 6.724916089326143 6.73126579 6.492818365 Calling exit ...