Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.0008767/0.0008767, 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.000971/0.000971, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9827/0.9827, allocations: 230.6 MB / 256 MB, free: 9.586 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.8037/0.8037, 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.Line,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",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.00136/0.00136, allocations: 71.83 kB / 0.7178 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5439/0.5453, allocations: 102 MB / 0.8174 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001646/0.5469, allocations: 0.8284 MB / 0.8182 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009343/0.5478, allocations: 0.9167 MB / 0.8191 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.5479, allocations: 2.594 kB / 0.8191 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.548, allocations: 13.41 kB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.92e-05/0.548, allocations: 10.25 kB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.5483, allocations: 68.91 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.5485, allocations: 145.3 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.5487, allocations: 47.83 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.5487, allocations: 51.41 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.5488, allocations: 53.44 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.5488, allocations: 18.2 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.5489, allocations: 15.56 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.5489, allocations: 31.16 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.5489, allocations: 45.08 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.5491, allocations: 147.6 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5491, allocations: 4 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5491, allocations: 0 / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.5491, allocations: 0 / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004794/0.5496, allocations: 366.9 kB / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.5496, allocations: 10.84 kB / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.5497, allocations: 50 kB / 0.8202 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.5497, allocations: 15.97 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.5499, allocations: 161.2 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.5499, allocations: 12.03 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.55, allocations: 12.33 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.5503, allocations: 224.6 kB / 0.8206 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5503, allocations: 3.938 kB / 0.8206 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.5503, allocations: 4 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.5503, allocations: 7.484 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.5505, allocations: 128.7 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.5511, allocations: 433.9 kB / 0.8211 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.5513, allocations: 81.19 kB / 0.8212 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.5513, allocations: 40.38 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.5514, allocations: 4.641 kB / 0.8212 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.5514, allocations: 39.27 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.5514, allocations: 4 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003373/0.5517, allocations: 156.4 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.5518, allocations: 57.75 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.5519, allocations: 192.6 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.5519, allocations: 35.05 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.552, allocations: 110.3 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.552, allocations: 40.25 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.5521, allocations: 25.47 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5522, allocations: 329.5 kB / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.5523, allocations: 40.53 kB / 0.8222 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/0.5523, allocations: 45.11 kB / 0.8223 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.5525, allocations: 91.34 kB / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5525, allocations: 3.938 kB / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000213/0.5527, allocations: 149.2 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5527, allocations: 9.188 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5527, allocations: 0 / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5527, allocations: 0.9688 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.5529, allocations: 28.84 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5529, allocations: 1.125 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.133e-05/0.5529, allocations: 25.55 kB / 0.8226 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.5529, allocations: 3.125 kB / 0.8226 GB, free: 13.57 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 (13): * Single equations (assignments): 13 * 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 7.918e-05/0.553, allocations: 124 kB / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.553, allocations: 10.05 kB / 0.8227 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.5533, allocations: 152.5 kB / 0.8228 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5533, allocations: 0 / 0.8228 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5533, allocations: 0.6562 kB / 0.8228 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5533, allocations: 0.5156 kB / 0.8228 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.5537, allocations: 403.1 kB / 0.8232 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5537, allocations: 1.078 kB / 0.8232 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.5538, allocations: 23.62 kB / 0.8233 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.5538, allocations: 1.219 kB / 0.8233 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.5538, allocations: 3.078 kB / 0.8233 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5538, allocations: 5.469 kB / 0.8233 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5538, allocations: 1.406 kB / 0.8233 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.554, allocations: 246.2 kB / 0.8235 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.554, allocations: 17.81 kB / 0.8235 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.554, allocations: 3.75 kB / 0.8235 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.5541, allocations: 20.75 kB / 0.8235 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.5541, allocations: 12.77 kB / 0.8236 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.5541, allocations: 4.812 kB / 0.8236 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.197e-05/0.5542, allocations: 154.7 kB / 0.8237 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5542, allocations: 0 / 0.8237 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001633/0.5544, allocations: 26.03 kB / 0.8237 GB, free: 12.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0004295/0.5548, allocations: 0.777 MB / 0.8245 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.555, allocations: 90.45 kB / 0.8246 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.555, allocations: 0.7031 kB / 0.8246 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.73e-05/0.5551, allocations: 51.14 kB / 0.8246 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.5554, allocations: 21.98 kB / 0.8246 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.5571, allocations: 1.893 MB / 0.8265 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.978e-05/0.5572, allocations: 98.48 kB / 0.8266 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.873e-05/0.5572, allocations: 14.25 kB / 0.8266 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.5573, allocations: 39 kB / 0.8266 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.5573, allocations: 0 / 0.8266 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.5752, allocations: 3.414 MB / 0.83 GB, free: 9.344 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.849/7.424, allocations: 8.703 kB / 0.83 GB, free: 9.344 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Line.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.408827238250524] Failed to read output from testmodel.py, exit status != 0: 7.504631577990949 7.51924047 6.96792358 Calling exit ...