Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.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.0008462/0.0008462, allocations: 105.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.0008183/0.0008183, allocations: 219.1 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.9352/0.9352, allocations: 230.6 MB / 256 MB, free: 9.828 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.03617/0.03617, allocations: 12.18 MB / 324.6 MB, free: 6.309 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.0005246/0.0005246, allocations: 27.94 kB / 384.1 MB, free: 10.72 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.689/1.689, allocations: 353.8 MB / 0.7787 GB, free: 3.16 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.Change,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Change",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.001381/0.001381, allocations: 124 kB / 1.06 GB, free: 24.96 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2434, allocations: 134.9 MB / 1.192 GB, free: 7.922 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Change): time 0.002782/0.2462, allocations: 1.953 MB / 1.194 GB, free: 5.957 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2477, allocations: 1.303 MB / 1.195 GB, free: 4.652 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.2479, allocations: 3.938 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004168/0.2483, allocations: 99.55 kB / 1.195 GB, free: 4.551 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.2486, allocations: 139.4 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.2489, allocations: 127.6 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.2491, allocations: 227.4 kB / 1.196 GB, free: 4.066 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.2493, allocations: 30.08 kB / 1.196 GB, free: 4.035 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.2494, allocations: 123.5 kB / 1.196 GB, free: 3.914 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.2495, allocations: 107.6 kB / 1.196 GB, free: 3.809 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.2495, allocations: 12 kB / 1.196 GB, free: 3.797 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.2497, allocations: 51.97 kB / 1.196 GB, free: 3.746 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.2498, allocations: 71.7 kB / 1.196 GB, free: 3.676 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.882e-05/0.2498, allocations: 95.39 kB / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.2501, allocations: 278.8 kB / 1.196 GB, free: 3.309 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2501, allocations: 4 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2501, allocations: 3.938 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2501, allocations: 0 / 1.196 GB, free: 3.301 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006365/0.2508, allocations: 492.8 kB / 1.197 GB, free: 2.789 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/0.2508, allocations: 12.02 kB / 1.197 GB, free: 2.777 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.002e-05/0.2509, allocations: 38.75 kB / 1.197 GB, free: 2.73 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.251, allocations: 24.8 kB / 1.197 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.2513, allocations: 232.9 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.2513, allocations: 15.97 kB / 1.197 GB, free: 2.441 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.2513, allocations: 8 kB / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.2515, allocations: 121.6 kB / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2515, allocations: 3.938 kB / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2515, allocations: 4 kB / 1.197 GB, free: 2.301 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2515, allocations: 4 kB / 1.197 GB, free: 2.297 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.2516, allocations: 79.92 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.2522, allocations: 431.5 kB / 1.198 GB, free: 1.754 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.2524, allocations: 126.5 kB / 1.198 GB, free: 1.621 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.918e-05/0.2525, allocations: 56.81 kB / 1.198 GB, free: 1.562 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.2525, allocations: 0 / 1.198 GB, free: 1.562 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.2528, allocations: 135.4 kB / 1.198 GB, free: 1.418 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.2528, allocations: 0 / 1.198 GB, free: 1.418 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003679/0.2532, allocations: 243.6 kB / 1.198 GB, free: 1.176 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2532, allocations: 59.41 kB / 1.198 GB, free: 1.105 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.2535, allocations: 345.8 kB / 1.199 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2535, allocations: 33.69 kB / 1.199 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.2536, allocations: 128.5 kB / 1.199 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.2536, allocations: 43.69 kB / 1.199 GB, free: 0.543 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.2537, allocations: 57.69 kB / 1.199 GB, free: 492 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.2538, allocations: 338.8 kB / 1.199 GB, free: 144 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.2539, allocations: 79.95 kB / 1.199 GB, free: 64 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.254, allocations: 137.1 kB / 1.199 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.2542, allocations: 198.9 kB / 1.2 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2542, allocations: 0 / 1.2 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003163/0.2545, allocations: 281.8 kB / 1.2 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/0.2546, allocations: 12.09 kB / 1.2 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2546, allocations: 4 kB / 1.2 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2546, allocations: 0 / 1.2 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2547, allocations: 39.97 kB / 1.2 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2547, allocations: 11.88 kB / 1.2 GB, free: 15.35 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.2548, allocations: 23.88 kB / 1.2 GB, free: 15.33 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.2548, allocations: 12 kB / 1.2 GB, free: 15.32 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001066/0.2549, allocations: 166.8 kB / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.2549, allocations: 27.8 kB / 1.2 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.2553, allocations: 203.7 kB / 1.2 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2553, allocations: 4 kB / 1.2 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2553, allocations: 0 / 1.2 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2553, allocations: 3.984 kB / 1.2 GB, free: 14.9 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.2558, allocations: 0.5262 MB / 1.201 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2558, allocations: 0 / 1.201 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.2558, allocations: 15.98 kB / 1.201 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2558, allocations: 3.984 kB / 1.201 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.2559, allocations: 8 kB / 1.201 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2559, allocations: 0 / 1.201 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2559, allocations: 0 / 1.201 GB, free: 14.3 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.2561, allocations: 296.9 kB / 1.201 GB, free: 14 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.2561, allocations: 35.73 kB / 1.201 GB, free: 13.96 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.2562, allocations: 8 kB / 1.201 GB, free: 13.95 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.2562, allocations: 11.98 kB / 1.201 GB, free: 13.94 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.2563, allocations: 19.97 kB / 1.201 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.2563, allocations: 7.938 kB / 1.201 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001336/0.2564, allocations: 213.2 kB / 1.201 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of sort global known variables: time 8e-08/0.2564, allocations: 4 kB / 1.201 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002597/0.2567, allocations: 51.94 kB / 1.201 GB, free: 13.66 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001122/0.2578, allocations: 1.142 MB / 1.203 GB, free: 12.65 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.2581, allocations: 184.8 kB / 1.203 GB, free: 12.47 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.2581, allocations: 0 / 1.203 GB, free: 12.47 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.2582, allocations: 62.22 kB / 1.203 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.2585, allocations: 54.14 kB / 1.203 GB, free: 12.37 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.2608, allocations: 2.611 MB / 1.205 GB, free: 9.637 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.261, allocations: 0.7519 MB / 1.206 GB, free: 8.859 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 7.508e-05/0.2611, allocations: 33.94 kB / 1.206 GB, free: 8.828 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.2612, allocations: 79.41 kB / 1.206 GB, free: 8.75 MB / 0.8387 GB Notification: Performance of SimCode: time 5.61e-07/0.2612, allocations: 0 / 1.206 GB, free: 8.75 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.2797, allocations: 5.755 MB / 1.212 GB, free: 3.078 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.43/6.71, allocations: 9.797 kB / 1.212 GB, free: 3.07 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Change.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.076719249598682] Failed to read output from testmodel.py, exit status != 0: 6.802930500358343 6.811041897 6.559270834 Calling exit ...