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.0007718/0.0007718, 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.0009924/0.0009924, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9104/0.9104, allocations: 230.6 MB / 256 MB, free: 9.43 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.03737/0.03737, allocations: 12.19 MB / 324.6 MB, free: 6.148 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.000414/0.000414, allocations: 23.95 kB / 384.1 MB, free: 10.57 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.702/1.702, allocations: 353.9 MB / 0.7787 GB, free: 4.516 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.001399/0.001399, allocations: 120.7 kB / 1.06 GB, free: 24.72 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2307, allocations: 134.9 MB / 1.192 GB, free: 7.34 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001639/0.2324, allocations: 0.6628 MB / 1.192 GB, free: 6.68 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.2338, allocations: 1.239 MB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.2338, allocations: 0 / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.315e-05/0.2339, allocations: 3.938 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.2339, allocations: 11.94 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006132/0.2345, allocations: 220.2 kB / 1.194 GB, free: 5.203 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.2348, allocations: 183.6 kB / 1.194 GB, free: 5.023 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2349, allocations: 4 kB / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.235, allocations: 75.89 kB / 1.194 GB, free: 4.945 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.2351, allocations: 51.84 kB / 1.194 GB, free: 4.895 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.2351, allocations: 16 kB / 1.194 GB, free: 4.879 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.562e-05/0.2352, allocations: 27.98 kB / 1.194 GB, free: 4.852 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.2352, allocations: 11.98 kB / 1.194 GB, free: 4.84 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.285e-05/0.2353, allocations: 55.83 kB / 1.194 GB, free: 4.785 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.2355, allocations: 167.8 kB / 1.194 GB, free: 4.621 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2355, allocations: 0 / 1.194 GB, free: 4.621 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2355, allocations: 0 / 1.194 GB, free: 4.621 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.2356, allocations: 0 / 1.194 GB, free: 4.621 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.0005207/0.2361, allocations: 365.5 kB / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.2361, allocations: 15.97 kB / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.2361, allocations: 30.75 kB / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.2362, allocations: 8.938 kB / 1.195 GB, free: 4.16 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.725e-05/0.2363, allocations: 110.5 kB / 1.195 GB, free: 4.027 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.2363, allocations: 12.38 kB / 1.195 GB, free: 4.016 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.2363, allocations: 16.11 kB / 1.195 GB, free: 4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2365, allocations: 49.69 kB / 1.195 GB, free: 3.945 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2365, allocations: 0 / 1.195 GB, free: 3.945 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.2365, allocations: 3.984 kB / 1.195 GB, free: 3.941 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2365, allocations: 0 / 1.195 GB, free: 3.941 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.395e-05/0.2365, allocations: 19.88 kB / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.237, allocations: 299.8 kB / 1.195 GB, free: 3.586 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.2371, allocations: 30.58 kB / 1.195 GB, free: 3.547 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.2371, allocations: 16.94 kB / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.2371, allocations: 0 / 1.195 GB, free: 3.527 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.2373, allocations: 107.2 kB / 1.195 GB, free: 3.41 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 2.034e-06/0.2373, allocations: 0 / 1.195 GB, free: 3.41 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0002599/0.2376, allocations: 129.5 kB / 1.195 GB, free: 3.277 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.2376, allocations: 55.41 kB / 1.196 GB, free: 3.211 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.2377, allocations: 121.6 kB / 1.196 GB, free: 3.082 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.2377, allocations: 33.69 kB / 1.196 GB, free: 3.043 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.2378, allocations: 96.33 kB / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.2378, allocations: 11.91 kB / 1.196 GB, free: 2.93 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.2379, allocations: 53.69 kB / 1.196 GB, free: 2.871 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.238, allocations: 326.8 kB / 1.196 GB, free: 2.543 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2381, allocations: 123.4 kB / 1.196 GB, free: 2.41 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.2382, allocations: 177.2 kB / 1.196 GB, free: 2.203 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.2384, allocations: 181.3 kB / 1.197 GB, free: 1.992 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2384, allocations: 0 / 1.197 GB, free: 1.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000363/0.2387, allocations: 356.2 kB / 1.197 GB, free: 1.613 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.2388, allocations: 71.55 kB / 1.197 GB, free: 1.531 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2388, allocations: 4 kB / 1.197 GB, free: 1.527 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.2388, allocations: 3.984 kB / 1.197 GB, free: 1.523 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.775e-05/0.2389, allocations: 4 kB / 1.197 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2389, allocations: 7.984 kB / 1.197 GB, free: 1.512 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.2391, allocations: 55.83 kB / 1.197 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.2391, allocations: 19.94 kB / 1.197 GB, free: 1.438 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 0.0001062/0.2393, allocations: 129.8 kB / 1.197 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.2393, allocations: 8.328 kB / 1.197 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.2393, allocations: 8.375 kB / 1.197 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2393, allocations: 0 / 1.197 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2393, allocations: 4 kB / 1.197 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2393, allocations: 3.938 kB / 1.197 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.2396, allocations: 321.6 kB / 1.198 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2396, allocations: 0 / 1.198 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-06/0.2396, allocations: 3.984 kB / 1.198 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2396, allocations: 0 / 1.198 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2396, allocations: 8 kB / 1.198 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.2396, allocations: 3.938 kB / 1.198 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2396, allocations: 0 / 1.198 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.2398, allocations: 199.4 kB / 1.198 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.2398, allocations: 3.984 kB / 1.198 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2398, allocations: 4 kB / 1.198 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.2398, allocations: 7.938 kB / 1.198 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.2399, allocations: 7.984 kB / 1.198 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2399, allocations: 4 kB / 1.198 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.2399, allocations: 91.27 kB / 1.198 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2399, allocations: 4 kB / 1.198 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002067/0.2401, allocations: 32 kB / 1.198 GB, free: 0.5312 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.0004391/0.2406, allocations: 0.7452 MB / 1.199 GB, free: 15.76 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003165/0.2409, allocations: 290.3 kB / 1.199 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2409, allocations: 0 / 1.199 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.2409, allocations: 31.92 kB / 1.199 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.2412, allocations: 26.11 kB / 1.199 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.2428, allocations: 2.108 MB / 1.201 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.194e-05/0.2428, allocations: 75.31 kB / 1.201 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.2429, allocations: 4.672 kB / 1.201 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.2429, allocations: 27.42 kB / 1.201 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of SimCode: time 1.282e-06/0.2429, allocations: 0 / 1.201 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.2645, allocations: 3.776 MB / 1.205 GB, free: 9.371 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.924, allocations: 8.203 kB / 1.205 GB, free: 9.367 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.210675813257694] Failed to read output from testmodel.py, exit status != 0: 7.002121766097844 7.014406727 6.777062627 Calling exit ...