Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.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.0009208/0.0009208, 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.001072/0.001072, allocations: 221.7 kB / 22.26 MB, free: 3.688 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 1.014/1.014, allocations: 230.6 MB / 256 MB, free: 9.812 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.8018/0.8018, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs",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.0009531/0.0009531, allocations: 63.19 kB / 0.7183 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5715/0.5725, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001423/0.5739, allocations: 0.6709 MB / 0.8186 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007346/0.5747, allocations: 0.8697 MB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.5747, allocations: 0 / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.5747, allocations: 0 / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.5748, allocations: 10.03 kB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.575, allocations: 11.39 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.498e-05/0.575, allocations: 20.53 kB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.5751, allocations: 12.5 kB / 0.8195 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.5752, allocations: 5.594 kB / 0.8195 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.5752, allocations: 20.34 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.5753, allocations: 2 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-06/0.5753, allocations: 3.594 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.5753, allocations: 4.703 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.5753, allocations: 10.45 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.7e-05/0.5754, allocations: 33.52 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5754, allocations: 0 / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5754, allocations: 0.7031 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.5754, allocations: 0 / 0.8195 GB, free: 116 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003357/0.5757, allocations: 263.5 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5758, allocations: 9.438 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.5758, allocations: 30.75 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.938e-05/0.5758, allocations: 5.672 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.137e-05/0.5759, allocations: 111.4 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5759, allocations: 384 / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.5759, allocations: 3.062 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.5761, allocations: 47.7 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5761, allocations: 3.938 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.5761, allocations: 7.781 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5761, allocations: 0.8906 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.5762, allocations: 35.12 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.5764, allocations: 215.8 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.585e-05/0.5765, allocations: 37.31 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/0.5766, allocations: 29.33 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.5766, allocations: 3.984 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.5766, allocations: 33.28 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5766, allocations: 0 / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000231/0.5768, allocations: 86.91 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.5769, allocations: 53.2 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.008e-05/0.5769, allocations: 100.2 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.5769, allocations: 27.05 kB / 0.8206 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.577, allocations: 80.8 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.577, allocations: 5.688 kB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.577, allocations: 16.67 kB / 0.8207 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.5771, allocations: 313.4 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.5771, allocations: 17.47 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/0.5772, allocations: 20.03 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.243e-05/0.5773, allocations: 40.23 kB / 0.8211 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5773, allocations: 7.875 kB / 0.8211 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001087/0.5774, allocations: 73.14 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5774, allocations: 5.625 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5774, allocations: 1.609 kB / 0.8211 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5774, allocations: 3.938 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.5775, allocations: 10.89 kB / 0.8212 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5775, allocations: 0.75 kB / 0.8212 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.5775, allocations: 4.375 kB / 0.8212 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.5775, allocations: 2.188 kB / 0.8212 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 (2): * Single equations (assignments): 2 * 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 5.63e-05/0.5776, allocations: 118.5 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.5776, allocations: 2.344 kB / 0.8213 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.5776, allocations: 7.875 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5776, allocations: 2.156 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5776, allocations: 0.6094 kB / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5776, allocations: 0 / 0.8213 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.5777, allocations: 135.9 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5777, allocations: 0 / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.5777, allocations: 12.27 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5777, allocations: 1.375 kB / 0.8214 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.5778, allocations: 4 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.5778, allocations: 0.6094 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5778, allocations: 3.219 kB / 0.8214 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.5779, allocations: 160.8 kB / 0.8216 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.5779, allocations: 8.469 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.5779, allocations: 3.984 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.574e-05/0.578, allocations: 8.328 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.578, allocations: 9.125 kB / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.578, allocations: 0 / 0.8216 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.913e-05/0.578, allocations: 80.67 kB / 0.8217 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.578, allocations: 0 / 0.8217 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001334/0.5782, allocations: 2.312 kB / 0.8217 GB, free: 14.03 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 (2): * Single equations (assignments): 2 * 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.0003427/0.5785, allocations: 0.6937 MB / 0.8224 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.5786, allocations: 35.98 kB / 0.8224 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5786, allocations: 0 / 0.8224 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.967e-05/0.5787, allocations: 29.58 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.5789, allocations: 4.641 kB / 0.8224 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.5793, allocations: 137.2 kB / 0.8226 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.5795, allocations: 0.6755 MB / 0.8232 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.103e-05/0.5795, allocations: 1.469 kB / 0.8232 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.5796, allocations: 13.5 kB / 0.8233 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of SimCode: time 3.4e-07/0.5796, allocations: 64 / 0.8233 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.5956, allocations: 1.382 MB / 0.8246 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.414/7.009, allocations: 7.062 kB / 0.8246 GB, free: 12.05 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.046181226149201] Failed to read output from testmodel.py, exit status != 0: 7.087892377981916 7.100286829 6.522603731 Calling exit ...