Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001104/0.001104, allocations: 101.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.001085/0.001085, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9489/0.9489, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7944/0.7944, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001246/0.001246, allocations: 73.83 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5544/0.5557, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001447/0.5571, allocations: 0.595 MB / 0.8184 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.5579, allocations: 0.808 MB / 0.8192 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.5579, allocations: 1.375 kB / 0.8192 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.5579, allocations: 0 / 0.8192 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.558, allocations: 4.547 kB / 0.8192 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.142e-05/0.5581, allocations: 7.359 kB / 0.8192 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.5581, allocations: 19.17 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.5582, allocations: 0.75 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.977e-05/0.5583, allocations: 12.55 kB / 0.8192 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.419e-05/0.5583, allocations: 7.859 kB / 0.8192 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.5583, allocations: 2.094 kB / 0.8192 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-06/0.5583, allocations: 1.125 kB / 0.8192 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.5583, allocations: 4.828 kB / 0.8193 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.5583, allocations: 6.188 kB / 0.8193 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.96e-05/0.5584, allocations: 22.16 kB / 0.8193 GB, free: 16 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5584, allocations: 0 / 0.8193 GB, free: 16 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5584, allocations: 0 / 0.8193 GB, free: 16 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5584, allocations: 1.656 kB / 0.8193 GB, free: 16 kB / 0.6042 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.0004152/0.5589, allocations: 260.2 kB / 0.8195 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5589, allocations: 8.781 kB / 0.8195 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.5589, allocations: 35.31 kB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.559, allocations: 2.156 kB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.203e-05/0.559, allocations: 110.1 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.559, allocations: 1.562 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-06/0.5591, allocations: 384 / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.5592, allocations: 49.62 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5592, allocations: 5.281 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.5592, allocations: 4 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5592, allocations: 0.7031 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/0.5593, allocations: 36.25 kB / 0.8198 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.5594, allocations: 120.5 kB / 0.8199 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.519e-05/0.5595, allocations: 32.11 kB / 0.8199 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.5596, allocations: 18.14 kB / 0.8199 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.5596, allocations: 5.234 kB / 0.8199 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.5596, allocations: 40.89 kB / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.5596, allocations: 0 / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000228/0.5598, allocations: 75.81 kB / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.5599, allocations: 51.41 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/0.5599, allocations: 105.3 kB / 0.8202 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.56, allocations: 25.7 kB / 0.8202 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.56, allocations: 82.45 kB / 0.8203 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.56, allocations: 5.469 kB / 0.8203 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.5601, allocations: 14.72 kB / 0.8203 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5602, allocations: 313.8 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.5602, allocations: 12.39 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-05/0.5603, allocations: 21.61 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.5604, allocations: 37.53 kB / 0.8207 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.5604, allocations: 0 / 0.8207 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001387/0.5605, allocations: 60.88 kB / 0.8207 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.5605, allocations: 10.92 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5606, allocations: 0 / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5606, allocations: 0 / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.441e-05/0.5607, allocations: 7.281 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5607, allocations: 2.344 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.5607, allocations: 9.188 kB / 0.8208 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.5607, allocations: 0 / 0.8208 GB, free: 14.56 MB / 0.6198 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.677e-05/0.5608, allocations: 113.2 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-06/0.5608, allocations: 4.547 kB / 0.8209 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.5608, allocations: 13.66 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5608, allocations: 0 / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5608, allocations: 0.75 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5608, allocations: 0 / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.5609, allocations: 124.3 kB / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5609, allocations: 0.5625 kB / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.561, allocations: 6.328 kB / 0.821 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.561, allocations: 7.938 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.561, allocations: 0.8125 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.561, allocations: 0.6562 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.561, allocations: 2.625 kB / 0.821 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.5611, allocations: 82.98 kB / 0.8211 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.5612, allocations: 0 / 0.8211 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.5612, allocations: 8.625 kB / 0.8211 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.518e-05/0.5612, allocations: 8.594 kB / 0.8211 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.5612, allocations: 11.5 kB / 0.8211 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.5612, allocations: 3.938 kB / 0.8211 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.5613, allocations: 81.12 kB / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5613, allocations: 3.938 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001254/0.5614, allocations: 2.625 kB / 0.8212 GB, free: 14.09 MB / 0.6198 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.0004353/0.5618, allocations: 0.6257 MB / 0.8218 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001738/0.562, allocations: 34.61 kB / 0.8219 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.562, allocations: 0 / 0.8219 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.5621, allocations: 17.88 kB / 0.8219 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.5623, allocations: 3.609 kB / 0.8219 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.5627, allocations: 128.8 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.219e-05/0.5628, allocations: 57.2 kB / 0.8221 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.5628, allocations: 4.828 kB / 0.8221 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.5628, allocations: 7.953 kB / 0.8221 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of SimCode: time 6.12e-07/0.5628, allocations: 0 / 0.8221 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.5814, allocations: 1.753 MB / 0.8238 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.599/7.181, allocations: 10.61 kB / 0.8238 GB, free: 12.41 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.147596824914217] Failed to read output from testmodel.py, exit status != 0: 7.256718486081809 7.268196755 6.707694195 Calling exit ...