Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.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.0009273/0.0009273, 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.00119/0.00119, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9879/0.9879, allocations: 230.6 MB / 256 MB, free: 9.801 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.03899/0.03899, allocations: 12.18 MB / 324.6 MB, free: 6.289 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.0004058/0.0004058, allocations: 35.89 kB / 384.1 MB, free: 10.7 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.722/1.722, allocations: 353.8 MB / 0.7787 GB, free: 3.098 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.Sources.Validation.Ramp,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_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.001419/0.001419, allocations: 122.4 kB / 1.06 GB, free: 24.99 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2302, allocations: 134.9 MB / 1.192 GB, free: 7.875 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002002/0.2322, allocations: 0.5977 MB / 1.192 GB, free: 7.281 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.2332, allocations: 0.828 MB / 1.193 GB, free: 6.441 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.2332, allocations: 0 / 1.193 GB, free: 6.441 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.2333, allocations: 0 / 1.193 GB, free: 6.441 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.299e-05/0.2333, allocations: 3.938 kB / 1.193 GB, free: 6.438 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 6.283e-05/0.2334, allocations: 7.984 kB / 1.193 GB, free: 6.43 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.2335, allocations: 15.94 kB / 1.193 GB, free: 6.414 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.2336, allocations: 8 kB / 1.193 GB, free: 6.406 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.33e-05/0.2337, allocations: 7.984 kB / 1.193 GB, free: 6.398 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.2338, allocations: 11.94 kB / 1.193 GB, free: 6.387 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.2338, allocations: 0 / 1.193 GB, free: 6.387 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-06/0.2338, allocations: 0 / 1.193 GB, free: 6.387 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.2338, allocations: 4 kB / 1.193 GB, free: 6.383 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.2339, allocations: 7.984 kB / 1.193 GB, free: 6.375 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.234, allocations: 19.91 kB / 1.193 GB, free: 6.355 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.234, allocations: 0 / 1.193 GB, free: 6.355 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.727e-06/0.234, allocations: 0 / 1.193 GB, free: 6.355 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.234, allocations: 0 / 1.193 GB, free: 6.355 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004947/0.2345, allocations: 254.7 kB / 1.194 GB, free: 6.074 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.2345, allocations: 8.031 kB / 1.194 GB, free: 6.066 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.2346, allocations: 34.75 kB / 1.194 GB, free: 6.023 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.2346, allocations: 4.891 kB / 1.194 GB, free: 6.02 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2348, allocations: 114.5 kB / 1.194 GB, free: 5.883 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2348, allocations: 384 / 1.194 GB, free: 5.883 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2348, allocations: 4.375 kB / 1.194 GB, free: 5.879 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.235, allocations: 46.19 kB / 1.194 GB, free: 5.828 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.235, allocations: 3.938 kB / 1.194 GB, free: 5.824 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.058e-06/0.235, allocations: 0 / 1.194 GB, free: 5.824 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.235, allocations: 0 / 1.194 GB, free: 5.824 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.2353, allocations: 31.95 kB / 1.194 GB, free: 5.793 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.2355, allocations: 124.8 kB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.213e-05/0.2355, allocations: 34.58 kB / 1.194 GB, free: 5.586 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.2356, allocations: 20.91 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.2356, allocations: 11.88 kB / 1.194 GB, free: 5.551 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.2357, allocations: 30.56 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.2357, allocations: 0 / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002414/0.2359, allocations: 85.52 kB / 1.194 GB, free: 5.422 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.236, allocations: 51.41 kB / 1.194 GB, free: 5.359 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.236, allocations: 101.8 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.236, allocations: 25.7 kB / 1.194 GB, free: 5.219 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.2361, allocations: 80.14 kB / 1.194 GB, free: 5.137 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.2361, allocations: 7.953 kB / 1.194 GB, free: 5.129 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.2361, allocations: 13.72 kB / 1.194 GB, free: 5.109 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.2362, allocations: 315 kB / 1.195 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.2363, allocations: 11.98 kB / 1.195 GB, free: 4.781 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.2363, allocations: 19.92 kB / 1.195 GB, free: 4.762 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.148e-05/0.2364, allocations: 36.81 kB / 1.195 GB, free: 4.723 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.2364, allocations: 0 / 1.195 GB, free: 4.723 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001093/0.2365, allocations: 57.73 kB / 1.195 GB, free: 4.66 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.2365, allocations: 11.94 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.2365, allocations: 3.984 kB / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2366, allocations: 0 / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2367, allocations: 4 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.2367, allocations: 0 / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.2367, allocations: 11.98 kB / 1.195 GB, free: 4.629 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.2367, allocations: 0 / 1.195 GB, free: 4.629 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.7e-05/0.2368, allocations: 117.8 kB / 1.195 GB, free: 4.504 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-06/0.2368, allocations: 3.938 kB / 1.195 GB, free: 4.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.2368, allocations: 3.156 kB / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.2368, allocations: 0 / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2368, allocations: 0 / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2369, allocations: 3.984 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.751e-05/0.2369, allocations: 124.8 kB / 1.195 GB, free: 4.328 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2369, allocations: 4 kB / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.237, allocations: 8 kB / 1.195 GB, free: 4.316 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.237, allocations: 7.938 kB / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.237, allocations: 0 / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.237, allocations: 7.969 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.237, allocations: 0 / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.2371, allocations: 77.11 kB / 1.195 GB, free: 4.207 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.2371, allocations: 3.953 kB / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2371, allocations: 19.95 kB / 1.195 GB, free: 4.184 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.562e-05/0.2371, allocations: 7.938 kB / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.2371, allocations: 0 / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.2372, allocations: 0 / 1.195 GB, free: 4.176 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.59e-05/0.2372, allocations: 91.14 kB / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2372, allocations: 0 / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001126/0.2373, allocations: 4 kB / 1.195 GB, free: 4.082 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.00035/0.2376, allocations: 0.6163 MB / 1.196 GB, free: 3.434 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.2378, allocations: 31.97 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2378, allocations: 0 / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.7e-05/0.2378, allocations: 24 kB / 1.196 GB, free: 3.379 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.238, allocations: 5.875 kB / 1.196 GB, free: 3.375 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.2384, allocations: 119.2 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.2386, allocations: 0.6729 MB / 1.197 GB, free: 2.52 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.2386, allocations: 0 / 1.197 GB, free: 2.52 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.2386, allocations: 11.44 kB / 1.197 GB, free: 2.508 MB / 0.823 GB Notification: Performance of SimCode: time 5.11e-07/0.2386, allocations: 4.062 kB / 1.197 GB, free: 2.504 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.2528, allocations: 1.334 MB / 1.198 GB, free: 1.301 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.125/6.378, allocations: 2.188 kB / 1.198 GB, free: 1.301 MB / 0.823 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.807376930490136] Failed to read output from testmodel.py, exit status != 0: 6.454673528671265 6.468685326 6.231488162 Calling exit ...