Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0006828/0.0006828, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008883/0.0008883, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.9734/0.9734, allocations: 230.6 MB / 256 MB, free: 9.617 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.7683/0.7683, allocations: 203.5 MB / 0.5039 GB, free: 10.76 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.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.001724/0.001724, allocations: 62.53 kB / 0.7178 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.5482, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00159/0.5498, allocations: 0.5744 MB / 0.818 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 5.409e-05/0.5498, allocations: 0 / 0.818 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.5499, allocations: 0 / 0.818 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.5499, allocations: 3.938 kB / 0.818 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.098e-05/0.5499, allocations: 3.938 kB / 0.818 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.889e-05/0.55, allocations: 7.703 kB / 0.818 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.694e-05/0.55, allocations: 0 / 0.818 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.659e-05/0.5501, allocations: 8.234 kB / 0.818 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.5501, allocations: 3.938 kB / 0.818 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.508e-05/0.5501, allocations: 1.031 kB / 0.818 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.5502, allocations: 4 kB / 0.818 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.24e-06/0.5502, allocations: 2.219 kB / 0.818 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.5502, allocations: 0 / 0.818 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.5502, allocations: 3.984 kB / 0.818 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.519e-05/0.5503, allocations: 3.25 kB / 0.818 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5503, allocations: 0 / 0.818 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5503, allocations: 0 / 0.818 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.5503, allocations: 0 / 0.818 GB, free: 0.8516 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002353/0.5505, allocations: 244.9 kB / 0.8182 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5506, allocations: 10.38 kB / 0.8183 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.325e-05/0.5506, allocations: 31.5 kB / 0.8183 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.5506, allocations: 4.938 kB / 0.8183 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.424e-05/0.5507, allocations: 106 kB / 0.8184 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.5507, allocations: 4.312 kB / 0.8184 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.5507, allocations: 384 / 0.8184 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.259e-05/0.5508, allocations: 37 kB / 0.8184 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.5508, allocations: 4.641 kB / 0.8184 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.5508, allocations: 0 / 0.8184 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5508, allocations: 0 / 0.8184 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.5508, allocations: 2.312 kB / 0.8184 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.5511, allocations: 350.4 kB / 0.8188 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.5512, allocations: 179.4 kB / 0.8189 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.5512, allocations: 80.14 kB / 0.819 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.5512, allocations: 78.69 kB / 0.8191 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.5513, allocations: 105.8 kB / 0.8192 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.5513, allocations: 0 / 0.8192 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.239e-05/0.5513, allocations: 30.33 kB / 0.8192 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.5514, allocations: 131.4 kB / 0.8194 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.5514, allocations: 98.38 kB / 0.8194 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.5515, allocations: 26.45 kB / 0.8195 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.437e-05/0.5515, allocations: 80.14 kB / 0.8195 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.5515, allocations: 4.125 kB / 0.8195 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.5515, allocations: 10.47 kB / 0.8196 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.5516, allocations: 312.3 kB / 0.8199 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.5516, allocations: 1.938 kB / 0.8199 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-06/0.5516, allocations: 3.938 kB / 0.8199 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/0.5516, allocations: 79.28 kB / 0.8199 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/0.5516, allocations: 81.59 kB / 0.82 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.728e-05/0.5517, allocations: 31.61 kB / 0.82 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.5517, allocations: 82.88 kB / 0.8201 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.5517, allocations: 79.78 kB / 0.8202 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.957e-05/0.5518, allocations: 157.3 kB / 0.8204 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.067e-05/0.5518, allocations: 81.83 kB / 0.8204 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.893e-05/0.5518, allocations: 153.9 kB / 0.8206 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.5519, allocations: 76.03 kB / 0.8206 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.5519, allocations: 79.22 kB / 0.8207 GB, free: 13.95 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 (0): * Single equations (assignments): 0 * 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 9.075e-05/0.552, allocations: 268 kB / 0.821 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.552, allocations: 103.3 kB / 0.8211 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.5521, allocations: 115.1 kB / 0.8212 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.385e-05/0.5521, allocations: 180.8 kB / 0.8214 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.551e-05/0.5522, allocations: 179.5 kB / 0.8215 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-05/0.5522, allocations: 188.8 kB / 0.8217 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.5524, allocations: 375 kB / 0.8221 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/0.5524, allocations: 109.6 kB / 0.8222 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.5524, allocations: 104.7 kB / 0.8223 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-05/0.5525, allocations: 180.9 kB / 0.8224 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.5525, allocations: 188.8 kB / 0.8226 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-05/0.5526, allocations: 176.9 kB / 0.8228 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.411e-05/0.5526, allocations: 180.9 kB / 0.823 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.5527, allocations: 309 kB / 0.8233 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.5528, allocations: 105.6 kB / 0.8234 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.5528, allocations: 180.5 kB / 0.8235 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.5529, allocations: 113.7 kB / 0.8236 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.5529, allocations: 180.5 kB / 0.8238 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.5529, allocations: 105 kB / 0.8239 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003212/0.5533, allocations: 81.91 kB / 0.824 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5533, allocations: 1.531 kB / 0.824 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000158/0.5534, allocations: 0 / 0.824 GB, free: 10.45 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 (0): * Single equations (assignments): 0 * 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.0003078/0.5537, allocations: 0.8057 MB / 0.8248 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.365e-05/0.5538, allocations: 2.781 kB / 0.8248 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5538, allocations: 4.094 kB / 0.8248 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-06/0.5538, allocations: 3.938 kB / 0.8248 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.554, allocations: 458.2 kB / 0.8252 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008602/0.5549, allocations: 1.545 MB / 0.8267 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.702e-05/0.5549, allocations: 55.5 kB / 0.8268 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.097e-05/0.5549, allocations: 0.8438 kB / 0.8268 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.555, allocations: 11.42 kB / 0.8268 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.555, allocations: 0 / 0.8268 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.5721, allocations: 1.413 MB / 0.8282 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/7.547, allocations: 4 kB / 0.8282 GB, free: 6.688 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.48696261504665] Failed to read output from testmodel.py, exit status != 0: 7.624452217947692 7.641709048 7.087210275 Calling exit ...