Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.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.001196/0.001196, 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.001044/0.001044, allocations: 209.2 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.9421/0.9421, allocations: 230.6 MB / 256 MB, free: 9.625 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.04856/0.04856, allocations: 12.2 MB / 324.6 MB, free: 6.117 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.0005048/0.0005048, allocations: 27.95 kB / 384.1 MB, free: 10.54 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.729/1.729, allocations: 353.8 MB / 0.7787 GB, free: 4.582 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.Ramp,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Ramp,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Ramp",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.001359/0.001359, allocations: 119 kB / 1.06 GB, free: 24.78 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2509, allocations: 134.9 MB / 1.192 GB, free: 7.496 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.001833/0.2527, allocations: 1.185 MB / 1.193 GB, free: 6.309 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.2547, allocations: 1.718 MB / 1.195 GB, free: 4.578 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2548, allocations: 4 kB / 1.195 GB, free: 4.574 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 6.763e-05/0.2548, allocations: 27.61 kB / 1.195 GB, free: 4.547 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.255, allocations: 95.28 kB / 1.195 GB, free: 4.453 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.2561, allocations: 0.6501 MB / 1.195 GB, free: 3.82 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005764/0.2567, allocations: 0.7564 MB / 1.196 GB, free: 3.062 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.2568, allocations: 48.89 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.2571, allocations: 307.4 kB / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.2574, allocations: 243 kB / 1.197 GB, free: 2.473 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.2574, allocations: 72 kB / 1.197 GB, free: 2.402 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.2575, allocations: 79.98 kB / 1.197 GB, free: 2.324 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.372e-05/0.2576, allocations: 75.75 kB / 1.197 GB, free: 2.25 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.2578, allocations: 235.2 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.2583, allocations: 0.7051 MB / 1.198 GB, free: 1.312 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2583, allocations: 0 / 1.198 GB, free: 1.312 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2583, allocations: 4 kB / 1.198 GB, free: 1.309 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.2583, allocations: 3.938 kB / 1.198 GB, free: 1.305 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001154/0.2595, allocations: 0.8614 MB / 1.199 GB, free: 368 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.2595, allocations: 8.031 kB / 1.199 GB, free: 360 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.2596, allocations: 54.72 kB / 1.199 GB, free: 296 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.2597, allocations: 44.75 kB / 1.199 GB, free: 252 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008626/0.2606, allocations: 404.9 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.2606, allocations: 28.38 kB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.2607, allocations: 48.36 kB / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.261, allocations: 208.4 kB / 1.199 GB, free: 15.53 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.261, allocations: 0 / 1.199 GB, free: 15.53 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.261, allocations: 11.98 kB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.261, allocations: 4 kB / 1.199 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.2612, allocations: 125.7 kB / 1.199 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008477/0.2621, allocations: 0.8159 MB / 1.2 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.2625, allocations: 224 kB / 1.201 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.2626, allocations: 102.5 kB / 1.201 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.2626, allocations: 7.938 kB / 1.201 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005513/0.2632, allocations: 293.4 kB / 1.201 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=37): time 2.014e-06/0.2632, allocations: 0 / 1.201 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of matching and sorting (n=37): time 0.0007091/0.2639, allocations: 473 kB / 1.201 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.2639, allocations: 110.8 kB / 1.201 GB, free: 13.25 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.2642, allocations: 268.1 kB / 1.202 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.2642, allocations: 49.7 kB / 1.202 GB, free: 12.93 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.2643, allocations: 157 kB / 1.202 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 6.89e-05/0.2644, allocations: 107.2 kB / 1.202 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.2645, allocations: 150 kB / 1.202 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.2646, allocations: 342.8 kB / 1.202 GB, free: 12.17 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.265, allocations: 419 kB / 1.203 GB, free: 11.72 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.2655, allocations: 0.7625 MB / 1.204 GB, free: 10.81 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.2661, allocations: 0.5775 MB / 1.204 GB, free: 10.15 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2661, allocations: 0 / 1.204 GB, free: 10.15 MB / 0.8387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000998/0.2671, allocations: 1.037 MB / 1.205 GB, free: 9.035 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 9.393e-05/0.2672, allocations: 190.5 kB / 1.205 GB, free: 8.812 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2672, allocations: 11.94 kB / 1.205 GB, free: 8.801 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2672, allocations: 4 kB / 1.205 GB, free: 8.797 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.2673, allocations: 47.91 kB / 1.205 GB, free: 8.75 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/0.2673, allocations: 4 kB / 1.205 GB, free: 8.746 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.2678, allocations: 183.5 kB / 1.206 GB, free: 8.566 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/0.2678, allocations: 47.97 kB / 1.206 GB, free: 8.52 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,pul.booPul.y,$PRE.pul.booPul.y,booPul1.y,$PRE.booPul1.y,$whenCondition15,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,pul1.booPul.y,$PRE.pul1.booPul.y,booPul2.y,$PRE.booPul2.y,$whenCondition10,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,pul2.booPul.y,$PRE.pul2.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 6 * 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.0001585/0.268, allocations: 179.4 kB / 1.206 GB, free: 8.336 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.268, allocations: 31.81 kB / 1.206 GB, free: 8.305 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.2681, allocations: 37.73 kB / 1.206 GB, free: 8.266 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2681, allocations: 8 kB / 1.206 GB, free: 8.258 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2681, allocations: 0 / 1.206 GB, free: 8.258 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2681, allocations: 0 / 1.206 GB, free: 8.258 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/0.2689, allocations: 0.8647 MB / 1.207 GB, free: 7.34 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2689, allocations: 0 / 1.207 GB, free: 7.34 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.2691, allocations: 47.89 kB / 1.207 GB, free: 7.293 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.2691, allocations: 4 kB / 1.207 GB, free: 7.289 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.2691, allocations: 8 kB / 1.207 GB, free: 7.281 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2691, allocations: 0 / 1.207 GB, free: 7.281 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2691, allocations: 4 kB / 1.207 GB, free: 7.277 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.2699, allocations: 0.7104 MB / 1.208 GB, free: 6.551 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.2699, allocations: 39.94 kB / 1.208 GB, free: 6.512 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.27, allocations: 8 kB / 1.208 GB, free: 6.504 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.2701, allocations: 23.89 kB / 1.208 GB, free: 6.48 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.2701, allocations: 31.95 kB / 1.208 GB, free: 6.449 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2702, allocations: 23.98 kB / 1.208 GB, free: 6.426 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001052/0.2703, allocations: 179.1 kB / 1.208 GB, free: 6.254 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2703, allocations: 0 / 1.208 GB, free: 6.254 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0003607/0.2706, allocations: 119.9 kB / 1.208 GB, free: 6.137 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (ramUpDow1.y_internal,ramUpDow.y_internal,ramUp.y_internal,ramUp1.y_internal) * Number of discrete variables: 21 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul2.booPul.y,booPul5.y,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,booPul2.y,pul1.booPul.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0009012/0.2715, allocations: 1.265 MB / 1.209 GB, free: 4.844 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0008488/0.2724, allocations: 0.949 MB / 1.21 GB, free: 3.785 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2724, allocations: 0 / 1.21 GB, free: 3.785 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.2726, allocations: 145.4 kB / 1.21 GB, free: 3.645 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.2731, allocations: 111.2 kB / 1.21 GB, free: 3.535 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.2775, allocations: 5.024 MB / 1.215 GB, free: 14.15 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2776, allocations: 164.9 kB / 1.215 GB, free: 13.97 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.2777, allocations: 55.44 kB / 1.215 GB, free: 13.91 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2778, allocations: 111.4 kB / 1.216 GB, free: 13.8 MB / 0.8543 GB Notification: Performance of SimCode: time 1.102e-06/0.2778, allocations: 0 / 1.216 GB, free: 13.8 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.3045, allocations: 11.43 MB / 1.227 GB, free: 2.684 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/7.01, allocations: 12.64 kB / 1.227 GB, free: 2.68 MB / 0.8543 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Ramp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Ramp.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.487977330572903] Failed to read output from testmodel.py, exit status != 0: 7.092385368421674 7.103021951 6.842720191 Calling exit ...