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.001224/0.001224, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009882/0.0009882, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8565/0.8565, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7074/0.7074, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 4.849e-06/4.849e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/3.043e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001643/0.001674, allocations: 0.5971 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007772/0.002451, allocations: 0.8082 MB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.002481, allocations: 0 / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.002505, allocations: 0 / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.002558, allocations: 0 / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.155e-05/0.00261, allocations: 0 / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.002675, allocations: 27.91 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.002719, allocations: 0 / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.071e-05/0.002789, allocations: 11.98 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.149e-05/0.002821, allocations: 11.88 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.00284, allocations: 4 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-06/0.002845, allocations: 0 / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.002858, allocations: 4 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.002879, allocations: 7.984 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.671e-05/0.002946, allocations: 11.98 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.002949, allocations: 0 / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.402e-06/0.00295, allocations: 3.984 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.002955, allocations: 0 / 0.6195 GB, free: 12.14 MB / 0.5886 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.0003229/0.003278, allocations: 250.4 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.003319, allocations: 13.47 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.947e-05/0.003349, allocations: 34.75 kB / 0.6198 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.00337, allocations: 4.891 kB / 0.6198 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.549e-05/0.003446, allocations: 109.7 kB / 0.6199 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.003455, allocations: 4.375 kB / 0.6199 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-06/0.003462, allocations: 384 / 0.6199 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.003593, allocations: 42.25 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.0036, allocations: 192 / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.003608, allocations: 4.312 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.003614, allocations: 4.125 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.003688, allocations: 35.89 kB / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.00381, allocations: 120.8 kB / 0.6201 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.555e-05/0.003876, allocations: 38.58 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.003918, allocations: 16.91 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.003928, allocations: 0 / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.003947, allocations: 30.56 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.003948, allocations: 0 / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000196/0.004144, allocations: 85.58 kB / 0.6203 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.004174, allocations: 59.28 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.473e-05/0.004229, allocations: 101.8 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.00424, allocations: 25.7 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.004268, allocations: 84.14 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.004289, allocations: 3.953 kB / 0.6206 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.004313, allocations: 17.7 kB / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.004397, allocations: 310.8 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/0.004442, allocations: 20.11 kB / 0.6209 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/0.004496, allocations: 11.98 kB / 0.6209 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.98e-05/0.004596, allocations: 36.81 kB / 0.6209 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.004598, allocations: 0 / 0.6209 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001053/0.004704, allocations: 65.67 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.004718, allocations: 8 kB / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004722, allocations: 0 / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.004734, allocations: 0 / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.004794, allocations: 11.92 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.004799, allocations: 0 / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.004822, allocations: 7.984 kB / 0.621 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.004827, allocations: 0 / 0.621 GB, free: 10.42 MB / 0.5886 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 6.341e-05/0.004891, allocations: 110.8 kB / 0.6211 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-06/0.004895, allocations: 0 / 0.6211 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.004916, allocations: 7.188 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.004918, allocations: 0 / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.004924, allocations: 3.938 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.004928, allocations: 4 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.093e-05/0.004998, allocations: 124.8 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.004999, allocations: 3.938 kB / 0.6213 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.005022, allocations: 11.98 kB / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.005023, allocations: 0 / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.005029, allocations: 0 / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.00503, allocations: 0 / 0.6213 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.005033, allocations: 11.88 kB / 0.6213 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.005135, allocations: 77.11 kB / 0.6214 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-06/0.005143, allocations: 11.94 kB / 0.6214 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-06/0.00515, allocations: 0 / 0.6214 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.656e-05/0.005167, allocations: 4 kB / 0.6214 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.0052, allocations: 11.92 kB / 0.6214 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.005201, allocations: 0 / 0.6214 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.788e-05/0.005229, allocations: 79.28 kB / 0.6215 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005229, allocations: 32 / 0.6215 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001159/0.005345, allocations: 8 kB / 0.6215 GB, free: 9.883 MB / 0.5886 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.0003015/0.005647, allocations: 0.6124 MB / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.005769, allocations: 35.89 kB / 0.6221 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.00577, allocations: 0 / 0.6221 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.005808, allocations: 24.08 kB / 0.6221 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.005996, allocations: 3.938 kB / 0.6221 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.006284, allocations: 118.6 kB / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.793e-05/0.006322, allocations: 63.3 kB / 0.6223 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.013e-05/0.006342, allocations: 3.984 kB / 0.6223 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.006379, allocations: 8.5 kB / 0.6223 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.00638, allocations: 0 / 0.6223 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.02241, allocations: 1.9 MB / 0.6242 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.059, allocations: 4.328 kB / 0.6242 GB, free: 7.176 MB / 0.5886 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: 9.626488471403718] Failed to read output from testmodel.py, exit status != 0: 7.1393099976703525 7.147032078 7.141547447 Calling exit ...