Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.0008092/0.0008092, 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.0008141/0.0008141, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8957/0.8957, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7176/0.7176, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.462e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001408/0.001433, allocations: 0.6823 MB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009025/0.002335, allocations: 0.8315 MB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.002376, allocations: 0 / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.002406, allocations: 3.938 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.524e-05/0.002481, allocations: 15.88 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.002599, allocations: 11.98 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.493e-05/0.002684, allocations: 43.84 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.002789, allocations: 11.98 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.125e-05/0.00287, allocations: 23.97 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.002914, allocations: 15.98 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.002938, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-06/0.002946, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.002963, allocations: 11.94 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.002988, allocations: 11.98 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.035e-05/0.003078, allocations: 43.86 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.003081, allocations: 4 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.392e-06/0.003082, allocations: 0 / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.003087, allocations: 0 / 0.6198 GB, free: 11.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003929/0.00348, allocations: 290.2 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.003521, allocations: 8.031 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.003551, allocations: 38.75 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.239e-05/0.003574, allocations: 4.891 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.583e-05/0.00366, allocations: 109.8 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.00367, allocations: 4.312 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.003681, allocations: 12.38 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.003862, allocations: 66.2 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.003871, allocations: 192 / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.003881, allocations: 4.375 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.003887, allocations: 4.125 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.004038, allocations: 67.92 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.004392, allocations: 224.1 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.00454, allocations: 54.47 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.004618, allocations: 36.92 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.004645, allocations: 7.922 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.004668, allocations: 34.56 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.00467, allocations: 4 kB / 0.6208 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003433/0.005013, allocations: 129.6 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.00505, allocations: 55.34 kB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.817e-05/0.005118, allocations: 105.8 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.00513, allocations: 29.64 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.005174, allocations: 96.03 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.005195, allocations: 15.88 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.00523, allocations: 17.72 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.005312, allocations: 310.8 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.005397, allocations: 35.95 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.005461, allocations: 27.97 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.005598, allocations: 72.78 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.0056, allocations: 0 / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001718/0.005772, allocations: 105.5 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.005786, allocations: 4 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.005791, allocations: 0 / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.005807, allocations: 4 kB / 0.6217 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.234e-05/0.0059, allocations: 19.97 kB / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.005906, allocations: 0 / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.95e-05/0.005946, allocations: 15.98 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.005954, allocations: 0 / 0.6218 GB, free: 9.691 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 (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 6.163e-05/0.006016, allocations: 110.8 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.006029, allocations: 3.938 kB / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.006252, allocations: 109.6 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.006254, allocations: 0 / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.00626, allocations: 0 / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.006264, allocations: 4 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.006383, allocations: 140.7 kB / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.006384, allocations: 0 / 0.6221 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.006435, allocations: 23.86 kB / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.006437, allocations: 0 / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.006444, allocations: 4 kB / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.006446, allocations: 0 / 0.6221 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006447, allocations: 4 kB / 0.6221 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.006644, allocations: 191.4 kB / 0.6223 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.006655, allocations: 8.359 kB / 0.6223 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.006666, allocations: 0 / 0.6223 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.066e-05/0.006717, allocations: 15.98 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.006752, allocations: 3.984 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.006756, allocations: 0 / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.006789, allocations: 91.28 kB / 0.6224 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006789, allocations: 3.938 kB / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001413/0.00693, allocations: 8 kB / 0.6225 GB, free: 8.906 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 (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.0004189/0.007349, allocations: 0.7318 MB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.007542, allocations: 71.92 kB / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007543, allocations: 0 / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.007615, allocations: 43.83 kB / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.007912, allocations: 5.875 kB / 0.6233 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007217/0.008633, allocations: 150.6 kB / 0.6234 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.008678, allocations: 71.28 kB / 0.6235 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.008704, allocations: 4 kB / 0.6235 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.008746, allocations: 12.5 kB / 0.6235 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.008747, allocations: 0 / 0.6235 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.02765, allocations: 2.313 MB / 0.6258 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.617/6.645, allocations: 6.938 kB / 0.6258 GB, free: 5.566 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Max.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.294723927974701] Failed to read output from testmodel.py, exit status != 0: 6.726271813735366 6.735290336 6.730262213 Calling exit ...