Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.0007585/0.0007585, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.0009126/0.0009126, allocations: 212.1 kB / 22.25 MB, free: 3.582 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.9572/0.9572, allocations: 230.6 MB / 256 MB, free: 9.605 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.7946/0.7946, 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.Integers.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_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.001465/0.001465, allocations: 62.72 kB / 0.7182 GB, free: 3.992 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5273, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001583/0.5289, allocations: 0.6905 MB / 0.8185 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.5298, allocations: 0.8569 MB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.5299, allocations: 2.062 kB / 0.8193 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.5299, allocations: 4.594 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.892e-05/0.53, allocations: 4.828 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.5303, allocations: 22.75 kB / 0.8193 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.5304, allocations: 48.78 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.5305, allocations: 13.78 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.5306, allocations: 18.56 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.5307, allocations: 22.17 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.5307, allocations: 4.094 kB / 0.8194 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.5308, allocations: 8.781 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.5308, allocations: 18.92 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.5308, allocations: 12.22 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.531, allocations: 46.75 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.531, allocations: 0 / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.968e-06/0.531, allocations: 0 / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.531, allocations: 1.812 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005689/0.5316, allocations: 284 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.5316, allocations: 9.312 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.5317, allocations: 36.75 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.5317, allocations: 9.25 kB / 0.8199 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.5318, allocations: 110.2 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.5319, allocations: 7.031 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.5319, allocations: 6.625 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.5321, allocations: 65.23 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5321, allocations: 3.938 kB / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.5321, allocations: 0 / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5321, allocations: 0 / 0.82 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.5322, allocations: 63.61 kB / 0.8201 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.5327, allocations: 242 kB / 0.8203 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.5328, allocations: 63.86 kB / 0.8204 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.5329, allocations: 32.7 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.5329, allocations: 3.766 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.5329, allocations: 34.5 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.5329, allocations: 0 / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003112/0.5333, allocations: 116.4 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5333, allocations: 51.41 kB / 0.8206 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.5334, allocations: 105.9 kB / 0.8207 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.5334, allocations: 25.7 kB / 0.8207 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.5335, allocations: 87.86 kB / 0.8208 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.5335, allocations: 19.81 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.5335, allocations: 19.62 kB / 0.8209 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5337, allocations: 320.2 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.5337, allocations: 29.78 kB / 0.8212 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.5338, allocations: 25.52 kB / 0.8212 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.5339, allocations: 58.48 kB / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5339, allocations: 2.844 kB / 0.8213 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001684/0.5341, allocations: 81.77 kB / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5341, allocations: 7.641 kB / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5341, allocations: 0 / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5341, allocations: 4 kB / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5342, allocations: 13.08 kB / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5343, allocations: 0 / 0.8214 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.5343, allocations: 12.27 kB / 0.8214 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.5343, allocations: 3.938 kB / 0.8214 GB, free: 14.18 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: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.385e-05/0.5344, allocations: 115.3 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.5344, allocations: 5.953 kB / 0.8215 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.5345, allocations: 8.516 kB / 0.8215 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5345, allocations: 5.25 kB / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5345, allocations: 4 kB / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5345, allocations: 4.625 kB / 0.8215 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.5346, allocations: 137.2 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5346, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.5347, allocations: 13.3 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5347, allocations: 1.156 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.5347, allocations: 0.5625 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5347, allocations: 1.609 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5347, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.5349, allocations: 191.9 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.5349, allocations: 5.016 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.5349, allocations: 3.938 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.613e-05/0.535, allocations: 7.656 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.535, allocations: 14.67 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.535, allocations: 2.719 kB / 0.8219 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.5351, allocations: 93.09 kB / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5351, allocations: 0 / 0.822 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001426/0.5352, allocations: 6 kB / 0.822 GB, free: 13.62 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004717/0.5357, allocations: 0.7091 MB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.5359, allocations: 58.19 kB / 0.8227 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5359, allocations: 0 / 0.8227 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.536, allocations: 33.78 kB / 0.8228 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.5363, allocations: 3.906 kB / 0.8228 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.5377, allocations: 1.327 MB / 0.8241 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.935e-05/0.5377, allocations: 66.38 kB / 0.8241 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.407e-05/0.5378, allocations: 10.3 kB / 0.8241 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.5378, allocations: 24.17 kB / 0.8242 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.5378, allocations: 0 / 0.8242 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.5555, allocations: 2.396 MB / 0.8265 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.386/6.941, allocations: 4.156 kB / 0.8265 GB, free: 10.75 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.891769789159298] Failed to read output from testmodel.py, exit status != 0: 7.018216731958091 7.02900439 6.495479699 Calling exit ...