Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.001043/0.001043, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001025/0.001025, allocations: 216 kB / 22.25 MB, free: 3.594 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.927/0.927, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.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.7552/0.7552, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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.Average,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",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.0009284/0.0009284, allocations: 70.23 kB / 0.7178 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5507, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001357/0.5521, allocations: 0.6881 MB / 0.8181 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000556/0.5526, allocations: 0.8321 MB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.5527, allocations: 3.938 kB / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.5527, allocations: 0 / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.5528, allocations: 12.94 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.927e-05/0.5528, allocations: 15.17 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.456e-05/0.5529, allocations: 42.52 kB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.553, allocations: 9.016 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.5531, allocations: 18.06 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.608e-05/0.5531, allocations: 20.05 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.5531, allocations: 3.25 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.954e-06/0.5531, allocations: 1.812 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.5531, allocations: 6.484 kB / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.5532, allocations: 13.84 kB / 0.819 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.5532, allocations: 49.03 kB / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5532, allocations: 4 kB / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5532, allocations: 0 / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.5533, allocations: 3.938 kB / 0.8191 GB, free: 88 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003863/0.5536, allocations: 295.7 kB / 0.8194 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5537, allocations: 8.031 kB / 0.8194 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.5537, allocations: 31.36 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.5537, allocations: 9.922 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.489e-05/0.5538, allocations: 114 kB / 0.8195 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.5538, allocations: 5.312 kB / 0.8195 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.5538, allocations: 6.625 kB / 0.8195 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.554, allocations: 63.83 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.554, allocations: 3.938 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.554, allocations: 4 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.554, allocations: 1.156 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.5542, allocations: 68.55 kB / 0.8197 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.5544, allocations: 237.2 kB / 0.8199 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.5546, allocations: 54.05 kB / 0.82 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.649e-05/0.5546, allocations: 33.75 kB / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.5547, allocations: 3.031 kB / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.5547, allocations: 30.56 kB / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.5547, allocations: 0 / 0.82 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003054/0.555, allocations: 132 kB / 0.8202 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.555, allocations: 55.91 kB / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.145e-05/0.5551, allocations: 104.5 kB / 0.8203 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.5551, allocations: 28.58 kB / 0.8203 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.5551, allocations: 89.86 kB / 0.8204 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.5551, allocations: 11.22 kB / 0.8204 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.5552, allocations: 19.2 kB / 0.8204 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.5552, allocations: 315.3 kB / 0.8207 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.5553, allocations: 34.38 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.5554, allocations: 31.91 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.5555, allocations: 78.22 kB / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5555, allocations: 0 / 0.8209 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001735/0.5557, allocations: 97.52 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5557, allocations: 8.156 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.5557, allocations: 0 / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5557, allocations: 0 / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.5558, allocations: 19.86 kB / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5558, allocations: 4.75 kB / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.5558, allocations: 10.59 kB / 0.821 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.5559, allocations: 2.562 kB / 0.821 GB, free: 14.47 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 (3): * Single equations (assignments): 3 * 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.035e-05/0.5559, allocations: 110.4 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.5559, allocations: 6.609 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.5559, allocations: 12.53 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5559, allocations: 0.5625 kB / 0.8211 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5559, allocations: 3.938 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5559, allocations: 3.984 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.5561, allocations: 145.9 kB / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.5561, allocations: 0 / 0.8213 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.5561, allocations: 20.31 kB / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.5561, allocations: 0 / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.5561, allocations: 0 / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5561, allocations: 4.312 kB / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.5561, allocations: 0 / 0.8213 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.5563, allocations: 192.7 kB / 0.8215 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.5563, allocations: 9.719 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.5563, allocations: 2.5 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.984e-05/0.5564, allocations: 9.672 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.5564, allocations: 5.031 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.5564, allocations: 1.25 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.5564, allocations: 88.78 kB / 0.8216 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5564, allocations: 3.938 kB / 0.8216 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001356/0.5566, allocations: 5.406 kB / 0.8216 GB, free: 13.92 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 (3): * Single equations (assignments): 3 * 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.0003787/0.557, allocations: 0.7306 MB / 0.8223 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.5571, allocations: 66.34 kB / 0.8224 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5571, allocations: 7.938 kB / 0.8224 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.142e-05/0.5572, allocations: 37.98 kB / 0.8224 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.5574, allocations: 10 kB / 0.8224 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.5578, allocations: 160.9 kB / 0.8226 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.347e-05/0.5578, allocations: 65.75 kB / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.5578, allocations: 4.797 kB / 0.8227 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.5579, allocations: 14.42 kB / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.5579, allocations: 0 / 0.8227 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.5728, allocations: 2.18 MB / 0.8248 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.573, allocations: 9.938 kB / 0.8248 GB, free: 12.1 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.444290773943067] Failed to read output from testmodel.py, exit status != 0: 7.64977455092594 7.662115722 7.106426261 Calling exit ...