Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.0007718/0.0007718, 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.0008564/0.0008564, 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.9612/0.9612, allocations: 230.6 MB / 256 MB, free: 9.598 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.7869/0.7869, allocations: 203.5 MB / 0.5039 GB, free: 10.7 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.Exp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp",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.0009457/0.0009457, allocations: 62.97 kB / 0.7178 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.5511, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001492/0.5526, allocations: 0.6528 MB / 0.8181 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006923/0.5533, allocations: 0.838 MB / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.5533, allocations: 2.125 kB / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.5534, allocations: 0 / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.5534, allocations: 3.938 kB / 0.8189 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.5536, allocations: 20.41 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.5537, allocations: 22.22 kB / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.5538, allocations: 3.359 kB / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.5539, allocations: 13.3 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.04e-05/0.5539, allocations: 9.484 kB / 0.819 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.5539, allocations: 2.5 kB / 0.819 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.329e-05/0.554, allocations: 8.312 kB / 0.819 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.554, allocations: 7.062 kB / 0.819 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.554, allocations: 9.375 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.5541, allocations: 25.97 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5541, allocations: 0 / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of FrontEnd: time 3.036e-06/0.5541, allocations: 0 / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.5541, allocations: 0 / 0.819 GB, free: 156 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.0003715/0.5545, allocations: 271.3 kB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.5545, allocations: 16 kB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.5546, allocations: 30.75 kB / 0.8193 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.5547, allocations: 2.25 kB / 0.8193 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.206e-05/0.5547, allocations: 114.8 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.5548, allocations: 4.359 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.5548, allocations: 2.125 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.5549, allocations: 53.72 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5549, allocations: 3.938 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.5549, allocations: 0 / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5549, allocations: 5.438 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.555, allocations: 31.81 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.5553, allocations: 215.8 kB / 0.8197 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.5554, allocations: 39.22 kB / 0.8198 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.5555, allocations: 19.86 kB / 0.8198 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.5555, allocations: 5.219 kB / 0.8198 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.5555, allocations: 37.98 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5555, allocations: 0 / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002447/0.5558, allocations: 84.55 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.5558, allocations: 52.06 kB / 0.8199 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.5559, allocations: 100.6 kB / 0.82 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.5559, allocations: 25.7 kB / 0.8201 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.5559, allocations: 81.8 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.5559, allocations: 5.75 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.556, allocations: 21 kB / 0.8202 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.556, allocations: 315.2 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.5561, allocations: 16.38 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.5561, allocations: 13.7 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.698e-05/0.5562, allocations: 39.28 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5562, allocations: 3.938 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001111/0.5563, allocations: 74.33 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.5563, allocations: 5.312 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5563, allocations: 0.75 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5564, allocations: 0 / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.5564, allocations: 13.11 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.5564, allocations: 3.938 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.5564, allocations: 7 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5565, allocations: 3.703 kB / 0.8206 GB, free: 14.59 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 4.69e-05/0.5565, allocations: 114.5 kB / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.5565, allocations: 2.188 kB / 0.8208 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.5567, allocations: 79.55 kB / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5567, allocations: 0 / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5567, allocations: 0 / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5567, allocations: 0.7969 kB / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.5568, allocations: 138.3 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5568, allocations: 0 / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.888e-05/0.5568, allocations: 11.5 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.5568, allocations: 2.844 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.5568, allocations: 0.7031 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5568, allocations: 0 / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5568, allocations: 0 / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.557, allocations: 159.3 kB / 0.8211 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.557, allocations: 9.844 kB / 0.8211 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.557, allocations: 7.734 kB / 0.8211 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.557, allocations: 14.78 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.5571, allocations: 0.9375 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.5571, allocations: 3.984 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.5571, allocations: 85.3 kB / 0.8212 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5571, allocations: 0 / 0.8212 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000144/0.5572, allocations: 9.375 kB / 0.8213 GB, free: 14.01 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.0003432/0.5576, allocations: 0.6902 MB / 0.8219 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.5577, allocations: 41.41 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5577, allocations: 0 / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.462e-05/0.5578, allocations: 14.92 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.558, allocations: 4.453 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.5584, allocations: 133 kB / 0.8221 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.5584, allocations: 62.91 kB / 0.8222 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.253e-05/0.5584, allocations: 3.953 kB / 0.8222 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.5585, allocations: 8.141 kB / 0.8222 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.5585, allocations: 3.938 kB / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.5728, allocations: 1.793 MB / 0.8239 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.566, allocations: 11.72 kB / 0.824 GB, free: 12.25 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Exp.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.53151036798954] Failed to read output from testmodel.py, exit status != 0: 7.644831442274153 7.66369491 7.106216747 Calling exit ...