Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.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.0008954/0.0008954, 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.001046/0.001046, allocations: 170.3 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.8863/0.8863, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7145/0.7145, allocations: 154.6 MB / 413.8 MB, free: 0.8164 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.Min,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/2.003e-05, allocations: 4.672 kB / 0.6182 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Min): time 0.001183/0.001203, allocations: 0.6792 MB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007472/0.00195, allocations: 0.8354 MB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.001987, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.002017, allocations: 7.875 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.892e-05/0.002076, allocations: 15.88 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.00218, allocations: 11.98 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.002268, allocations: 43.84 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.002367, allocations: 8 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.002443, allocations: 23.92 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.002488, allocations: 23.95 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.002512, allocations: 4 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.002522, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.002537, allocations: 8 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.002559, allocations: 15.92 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.884e-05/0.002647, allocations: 39.94 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002649, allocations: 0 / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.02e-07/0.00265, allocations: 0 / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.002655, allocations: 0 / 0.6198 GB, free: 11.88 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.0003745/0.003029, allocations: 286.2 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.003069, allocations: 8.031 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.003103, allocations: 42.69 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.056e-05/0.003123, allocations: 4.891 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.003203, allocations: 117.7 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.003212, allocations: 4.375 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.003221, allocations: 4.375 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.003384, allocations: 70.2 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.003392, allocations: 192 / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.0034, allocations: 384 / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.003407, allocations: 8.109 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.003545, allocations: 67.92 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.003856, allocations: 228.1 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.003972, allocations: 54.47 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.004044, allocations: 36.92 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.004064, allocations: 3.938 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.004083, allocations: 30.56 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.004085, allocations: 4 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003002/0.004385, allocations: 137.5 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.004416, allocations: 51.41 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.004481, allocations: 105.8 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.00449, allocations: 25.7 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.004528, allocations: 92.09 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.004546, allocations: 11.89 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.004581, allocations: 17.7 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.004661, allocations: 314.8 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.004733, allocations: 31.97 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.004796, allocations: 35.89 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.004926, allocations: 72.78 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.004927, allocations: 0 / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001626/0.00509, allocations: 105.5 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.005104, allocations: 4 kB / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.005109, allocations: 0 / 0.6217 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.005122, allocations: 4 kB / 0.6217 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.005199, allocations: 15.98 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.005205, allocations: 4 kB / 0.6218 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.005242, allocations: 15.97 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.005249, allocations: 0 / 0.6218 GB, free: 9.707 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 5.492e-05/0.005304, allocations: 118.8 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.005317, allocations: 3.938 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.005511, allocations: 109.6 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.005513, allocations: 0 / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.005523, allocations: 0 / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.005526, allocations: 7.938 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.005632, allocations: 128.8 kB / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.005633, allocations: 0 / 0.6221 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.005677, allocations: 19.91 kB / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005678, allocations: 0 / 0.6221 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.005687, allocations: 4.375 kB / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.005688, allocations: 0 / 0.6221 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.005688, allocations: 4 kB / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.005867, allocations: 195.4 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.005876, allocations: 11.92 kB / 0.6223 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.005885, allocations: 0 / 0.6223 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.005933, allocations: 11.98 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.005973, allocations: 4 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.005977, allocations: 7.984 kB / 0.6224 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.023e-05/0.006007, allocations: 83.28 kB / 0.6224 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006007, allocations: 0 / 0.6224 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001362/0.006143, allocations: 15.94 kB / 0.6225 GB, free: 8.918 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.0003569/0.0065, allocations: 0.7202 MB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.006685, allocations: 71.92 kB / 0.6232 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006687, allocations: 0 / 0.6232 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.155e-05/0.006758, allocations: 43.89 kB / 0.6233 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.006958, allocations: 9.703 kB / 0.6233 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.007294, allocations: 150.6 kB / 0.6234 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.544e-05/0.00734, allocations: 75.22 kB / 0.6235 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.00736, allocations: 4 kB / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.007399, allocations: 12.5 kB / 0.6235 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of SimCode: time 2.81e-07/0.007399, allocations: 0 / 0.6235 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.02583, allocations: 2.316 MB / 0.6258 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.445/6.471, allocations: 10.88 kB / 0.6258 GB, free: 5.574 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Min.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.11386131029576] Failed to read output from testmodel.py, exit status != 0: 6.55032801348716 6.559655107 6.555387463 Calling exit ...