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.0008783/0.0008783, 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.00093/0.00093, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9495/0.9495, allocations: 230.6 MB / 256 MB, free: 9.785 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.03944/0.03944, allocations: 12.18 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.0004035/0.0004035, 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.676/1.676, allocations: 353.8 MB / 0.7787 GB, free: 20.43 MB / 0.5418 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.001461/0.001461, allocations: 123.8 kB / 1.06 GB, free: 2.695 MB / 0.7762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6111/0.6126, allocations: 134.9 MB / 1.192 GB, free: 3.18 MB / 0.8074 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Ramp): time 0.002086/0.6147, allocations: 1.3 MB / 1.193 GB, free: 1.875 MB / 0.8074 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.6164, allocations: 1.745 MB / 1.195 GB, free: 120 kB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.998e-05/0.6165, allocations: 4 kB / 1.195 GB, free: 116 kB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 4.994e-05/0.6166, allocations: 23.62 kB / 1.195 GB, free: 92 kB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.6167, allocations: 91.34 kB / 1.195 GB, free: 0 / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.6178, allocations: 0.6577 MB / 1.196 GB, free: 15.36 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0007924/0.6186, allocations: 0.7564 MB / 1.196 GB, free: 14.61 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.6188, allocations: 48.91 kB / 1.196 GB, free: 14.55 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.619, allocations: 299.3 kB / 1.197 GB, free: 14.26 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.6193, allocations: 275.2 kB / 1.197 GB, free: 13.99 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.135e-05/0.6194, allocations: 72 kB / 1.197 GB, free: 13.92 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.6195, allocations: 91.92 kB / 1.197 GB, free: 13.83 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.6196, allocations: 71.75 kB / 1.197 GB, free: 13.76 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.6197, allocations: 271 kB / 1.197 GB, free: 13.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.6202, allocations: 0.7023 MB / 1.198 GB, free: 12.79 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6202, allocations: 4 kB / 1.198 GB, free: 12.79 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6202, allocations: 0 / 1.198 GB, free: 12.79 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.6202, allocations: 0 / 1.198 GB, free: 12.79 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.0009746/0.6212, allocations: 0.8575 MB / 1.199 GB, free: 11.85 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.6212, allocations: 12.03 kB / 1.199 GB, free: 11.84 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.6212, allocations: 50.72 kB / 1.199 GB, free: 11.78 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.863e-05/0.6213, allocations: 52.75 kB / 1.199 GB, free: 11.73 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/0.6221, allocations: 400.8 kB / 1.199 GB, free: 11.31 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.6221, allocations: 24.38 kB / 1.199 GB, free: 11.29 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-05/0.6222, allocations: 52.3 kB / 1.199 GB, free: 11.24 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.6225, allocations: 210.5 kB / 1.2 GB, free: 11.02 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6225, allocations: 11.94 kB / 1.2 GB, free: 11.01 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.6225, allocations: 11.98 kB / 1.2 GB, free: 11 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.6225, allocations: 4 kB / 1.2 GB, free: 10.99 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.6227, allocations: 115.9 kB / 1.2 GB, free: 10.88 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.6236, allocations: 0.921 MB / 1.201 GB, free: 9.906 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.624, allocations: 216.2 kB / 1.201 GB, free: 9.668 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.6241, allocations: 102.5 kB / 1.201 GB, free: 9.559 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.6241, allocations: 8 kB / 1.201 GB, free: 9.551 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003889/0.6245, allocations: 303.1 kB / 1.201 GB, free: 9.234 MB / 0.823 GB Notification: Performance of pre-optimization done (n=37): time 1.242e-06/0.6245, allocations: 0 / 1.201 GB, free: 9.234 MB / 0.823 GB Notification: Performance of matching and sorting (n=37): time 0.0006515/0.6252, allocations: 454.5 kB / 1.202 GB, free: 8.785 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.6252, allocations: 118.8 kB / 1.202 GB, free: 8.645 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.6254, allocations: 260.2 kB / 1.202 GB, free: 8.379 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.6254, allocations: 49.7 kB / 1.202 GB, free: 8.324 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.6255, allocations: 157 kB / 1.202 GB, free: 8.168 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.6256, allocations: 107.2 kB / 1.202 GB, free: 8.062 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.6257, allocations: 154 kB / 1.203 GB, free: 7.906 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.626, allocations: 346.8 kB / 1.203 GB, free: 7.559 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.6263, allocations: 228.8 kB / 1.203 GB, free: 7.336 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.6267, allocations: 384.1 kB / 1.203 GB, free: 6.895 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005275/0.6272, allocations: 0.5776 MB / 1.204 GB, free: 6.238 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6272, allocations: 4 kB / 1.204 GB, free: 6.234 MB / 0.823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009445/0.6282, allocations: 0.8436 MB / 1.205 GB, free: 5.348 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/0.6282, allocations: 186.8 kB / 1.205 GB, free: 5.129 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6282, allocations: 11.94 kB / 1.205 GB, free: 5.117 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6283, allocations: 7.938 kB / 1.205 GB, free: 5.109 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.6284, allocations: 51.91 kB / 1.205 GB, free: 5.059 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6284, allocations: 11.92 kB / 1.205 GB, free: 5.047 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.6288, allocations: 179.5 kB / 1.205 GB, free: 4.871 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/0.6289, allocations: 47.97 kB / 1.205 GB, free: 4.824 MB / 0.823 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.0001513/0.629, allocations: 179.4 kB / 1.205 GB, free: 4.641 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.6291, allocations: 31.81 kB / 1.205 GB, free: 4.609 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.6291, allocations: 37.73 kB / 1.206 GB, free: 4.57 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6291, allocations: 4 kB / 1.206 GB, free: 4.566 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6291, allocations: 4 kB / 1.206 GB, free: 4.562 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6291, allocations: 7.969 kB / 1.206 GB, free: 4.555 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007751/0.6299, allocations: 0.8958 MB / 1.206 GB, free: 3.609 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.6299, allocations: 0 / 1.206 GB, free: 3.609 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.63, allocations: 43.89 kB / 1.206 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.63, allocations: 4 kB / 1.206 GB, free: 3.562 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.63, allocations: 12 kB / 1.206 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.6301, allocations: 0 / 1.206 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.6301, allocations: 11.98 kB / 1.206 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.6307, allocations: 0.7103 MB / 1.207 GB, free: 2.812 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.6308, allocations: 27.75 kB / 1.207 GB, free: 2.785 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.6308, allocations: 12 kB / 1.207 GB, free: 2.773 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.6309, allocations: 20.02 kB / 1.207 GB, free: 2.754 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.631, allocations: 23.95 kB / 1.207 GB, free: 2.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.631, allocations: 19.98 kB / 1.207 GB, free: 2.711 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001092/0.6311, allocations: 179.1 kB / 1.207 GB, free: 2.539 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.6311, allocations: 0 / 1.207 GB, free: 2.539 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004091/0.6315, allocations: 119.9 kB / 1.208 GB, free: 2.422 MB / 0.823 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.001005/0.6325, allocations: 1.276 MB / 1.209 GB, free: 1.117 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009223/0.6334, allocations: 0.7503 MB / 1.21 GB, free: 300 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6334, allocations: 0 / 1.21 GB, free: 300 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.6336, allocations: 142 kB / 1.21 GB, free: 160 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.6342, allocations: 116.3 kB / 1.21 GB, free: 44 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.6383, allocations: 4.273 MB / 1.214 GB, free: 11.56 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.6385, allocations: 0.7728 MB / 1.215 GB, free: 10.77 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.6387, allocations: 51.28 kB / 1.215 GB, free: 10.71 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.6388, allocations: 115.6 kB / 1.215 GB, free: 10.6 MB / 0.8387 GB Notification: Performance of SimCode: time 9.92e-07/0.6388, allocations: 0 / 1.215 GB, free: 10.6 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.6624, allocations: 10.25 MB / 1.225 GB, free: 0.6055 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.705/7.368, allocations: 8.484 kB / 1.225 GB, free: 0.6016 MB / 0.8387 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.470226335339248] Failed to read output from testmodel.py, exit status != 0: 7.44646184053272 7.457497385 6.835253554 Calling exit ...