Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009771/0.0009771, 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.0008975/0.0008975, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9025/0.9025, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7021/0.7021, allocations: 154.6 MB / 413.8 MB, free: 0.7734 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.007e-06/4.007e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.664e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001412/0.001439, allocations: 0.6463 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000893/0.002332, allocations: 0.8745 MB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.64e-05/0.002368, allocations: 0 / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.002398, allocations: 0 / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.002465, allocations: 3.938 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.002657, allocations: 23.84 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.002753, allocations: 23.92 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.002874, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.00297, allocations: 11.98 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.003015, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.003047, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-06/0.003056, allocations: 4 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.00308, allocations: 11.92 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.003107, allocations: 4 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.003219, allocations: 19.95 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.003222, allocations: 3.938 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.313e-06/0.003224, allocations: 0 / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.00323, allocations: 4 kB / 0.6198 GB, free: 11.95 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004476/0.003677, allocations: 254.4 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.00373, allocations: 8.031 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.629e-05/0.003767, allocations: 42.75 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.00379, allocations: 4.891 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.521e-05/0.003876, allocations: 113.7 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.003887, allocations: 4.375 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.003895, allocations: 384 / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.004322, allocations: 54.17 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.004332, allocations: 192 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.004342, allocations: 384 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.004349, allocations: 4.125 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.2e-05/0.004441, allocations: 35.97 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.00475, allocations: 212.1 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.902e-05/0.004839, allocations: 38.5 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.004885, allocations: 16.91 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.004905, allocations: 11.97 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.004926, allocations: 38.5 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.004927, allocations: 0 / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002266/0.005154, allocations: 81.61 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.005188, allocations: 59.33 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.005245, allocations: 97.86 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.005254, allocations: 25.7 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.00529, allocations: 84.14 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.005307, allocations: 7.953 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.005333, allocations: 17.7 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.005408, allocations: 310.8 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.484e-05/0.005453, allocations: 20.11 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.005489, allocations: 15.98 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.613e-05/0.005565, allocations: 36.81 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005566, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001116/0.005678, allocations: 73.61 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.005691, allocations: 12.02 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.005696, allocations: 0 / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005707, allocations: 4 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.005769, allocations: 4 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.005773, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.005797, allocations: 7.984 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.005802, allocations: 0 / 0.6214 GB, free: 10.09 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 (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 6.111e-05/0.005864, allocations: 110.8 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.005877, allocations: 7.875 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.005904, allocations: 15.27 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.005909, allocations: 7.984 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.005914, allocations: 0 / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.005917, allocations: 3.938 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.00602, allocations: 120.8 kB / 0.6216 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.006023, allocations: 4 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.006053, allocations: 11.98 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.006055, allocations: 3.938 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.006062, allocations: 0 / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006063, allocations: 0 / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006064, allocations: 4 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.006207, allocations: 163.4 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-06/0.006215, allocations: 7.938 kB / 0.6218 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.006225, allocations: 3.984 kB / 0.6218 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.498e-05/0.00626, allocations: 4 kB / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.006295, allocations: 7.984 kB / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.006298, allocations: 0 / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.827e-05/0.006326, allocations: 79.28 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006326, allocations: 4.031 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001425/0.006469, allocations: 4 kB / 0.6219 GB, free: 9.473 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 (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.0003552/0.006824, allocations: 0.6928 MB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.006953, allocations: 39.95 kB / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006955, allocations: 0 / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.006995, allocations: 24.08 kB / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.007233, allocations: 1.875 kB / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.007564, allocations: 130.5 kB / 0.6228 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.322e-05/0.007607, allocations: 63.34 kB / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.007624, allocations: 0 / 0.6229 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.007659, allocations: 12.5 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.007659, allocations: 0 / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.02165, allocations: 1.94 MB / 0.6248 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.553/6.575, allocations: 5.328 kB / 0.6248 GB, free: 6.621 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.273825788870454] Failed to read output from testmodel.py, exit status != 0: 6.655968873761594 6.665601172 6.6606081249999995 Calling exit ...