Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001319/0.001319, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.001503/0.001503, allocations: 167.8 kB / 22.29 MB, free: 3.516 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 1.413/1.413, allocations: 177.2 MB / 202.7 MB, free: 4.805 MB / 186.7 MB " [Timeout remaining time 178] 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 1.264/1.264, allocations: 154.7 MB / 413.8 MB, free: 3.133 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 178] 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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.002036/0.002036, allocations: 67.98 kB / 0.6181 GB, free: 1.105 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2406, allocations: 102 MB / 0.7176 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003554/0.2442, allocations: 1.829 MB / 0.7194 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004988/0.2492, allocations: 3.41 MB / 0.7228 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.2493, allocations: 0 / 0.7228 GB, free: 5.973 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009109/0.2502, allocations: 170.6 kB / 0.7229 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.2505, allocations: 79.45 kB / 0.723 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.2506, allocations: 51.94 kB / 0.723 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006035/0.2512, allocations: 279.1 kB / 0.7233 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2514, allocations: 17.8 kB / 0.7233 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.2515, allocations: 99.66 kB / 0.7234 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.2517, allocations: 79.61 kB / 0.7235 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.2517, allocations: 8 kB / 0.7235 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.2519, allocations: 23.98 kB / 0.7235 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.205e-05/0.2519, allocations: 51.83 kB / 0.7236 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.252, allocations: 83.47 kB / 0.7237 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.2523, allocations: 199 kB / 0.7238 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2523, allocations: 0 / 0.7238 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2523, allocations: 0 / 0.7238 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2524, allocations: 0 / 0.7238 GB, free: 4.852 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009145/0.2533, allocations: 472.8 kB / 0.7243 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2533, allocations: 12.03 kB / 0.7243 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.2534, allocations: 42.73 kB / 0.7243 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003687/0.2537, allocations: 60.75 kB / 0.7244 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.2543, allocations: 197.5 kB / 0.7246 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2543, allocations: 4.375 kB / 0.7246 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.2543, allocations: 4.375 kB / 0.7246 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.2547, allocations: 147.7 kB / 0.7247 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2547, allocations: 0 / 0.7247 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.2547, allocations: 0 / 0.7247 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.2548, allocations: 8 kB / 0.7248 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.2552, allocations: 131.9 kB / 0.7249 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007707/0.256, allocations: 407.6 kB / 0.7253 GB, free: 3.289 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.2564, allocations: 154.4 kB / 0.7254 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.2567, allocations: 92.8 kB / 0.7255 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.2567, allocations: 4 kB / 0.7255 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.2568, allocations: 42.48 kB / 0.7255 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.2568, allocations: 0 / 0.7255 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0009121/0.2577, allocations: 277.6 kB / 0.7258 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.2577, allocations: 59.41 kB / 0.7259 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.258, allocations: 245.9 kB / 0.7261 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.258, allocations: 29.7 kB / 0.7261 GB, free: 2.348 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.2581, allocations: 132.1 kB / 0.7263 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.2582, allocations: 47.53 kB / 0.7263 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.2583, allocations: 33.7 kB / 0.7263 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.2584, allocations: 334.8 kB / 0.7267 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.2587, allocations: 75.94 kB / 0.7267 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.2589, allocations: 71.94 kB / 0.7268 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.2594, allocations: 157.2 kB / 0.7269 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2594, allocations: 0 / 0.7269 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000566/0.26, allocations: 211.9 kB / 0.7271 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.26, allocations: 4 kB / 0.7272 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.26, allocations: 0 / 0.7272 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.26, allocations: 3.984 kB / 0.7272 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.2603, allocations: 35.97 kB / 0.7272 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2603, allocations: 11.94 kB / 0.7272 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.2604, allocations: 15.98 kB / 0.7272 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.2604, allocations: 7.922 kB / 0.7272 GB, free: 1.203 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 0.0001392/0.2606, allocations: 141.8 kB / 0.7274 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.2606, allocations: 27.81 kB / 0.7274 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.799e-05/0.2607, allocations: 25.77 kB / 0.7274 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.2607, allocations: 4 kB / 0.7274 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2607, allocations: 0 / 0.7274 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2607, allocations: 0 / 0.7274 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.261, allocations: 232.5 kB / 0.7276 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.261, allocations: 0 / 0.7276 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.2612, allocations: 31.97 kB / 0.7277 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2612, allocations: 0 / 0.7277 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.2613, allocations: 11.98 kB / 0.7277 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2613, allocations: 7.875 kB / 0.7277 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2613, allocations: 3.984 kB / 0.7277 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.2619, allocations: 311.2 kB / 0.728 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.475e-05/0.262, allocations: 31.84 kB / 0.728 GB, free: 324 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.262, allocations: 4 kB / 0.728 GB, free: 320 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.2622, allocations: 11.98 kB / 0.728 GB, free: 308 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.2623, allocations: 15.97 kB / 0.728 GB, free: 292 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.2623, allocations: 0 / 0.728 GB, free: 292 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001848/0.2625, allocations: 185.1 kB / 0.7282 GB, free: 108 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2625, allocations: 4 kB / 0.7282 GB, free: 104 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002794/0.2628, allocations: 39.95 kB / 0.7283 GB, free: 64 kB / 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 (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 Backend phase and start with SimCode phase: time 0.001039/0.2638, allocations: 0.8549 MB / 0.7291 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.2644, allocations: 163.8 kB / 0.7293 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.2644, allocations: 4 kB / 0.7293 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.2646, allocations: 83.94 kB / 0.7293 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.2651, allocations: 55.58 kB / 0.7294 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.2688, allocations: 2.374 MB / 0.7317 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.2689, allocations: 136.1 kB / 0.7318 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000171/0.2691, allocations: 41.45 kB / 0.7319 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.2692, allocations: 60.47 kB / 0.7319 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.2692, allocations: 8 kB / 0.7319 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.3056, allocations: 5.494 MB / 0.7373 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.93, allocations: 17.66 kB / 0.7373 GB, free: 6.844 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.109685012997943] Failed to read output from testmodel.py, exit status != 0: 12.038966518011875 12.070703187 11.812664741 Calling exit ...