Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001362/0.001362, allocations: 72.45 kB / 19.02 MB, free: 1.129 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.001439/0.001439, allocations: 168.2 kB / 22.3 MB, free: 3.523 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.4/1.4, allocations: 177.2 MB / 202.7 MB, free: 4.441 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.247/1.247, allocations: 154.7 MB / 413.8 MB, free: 3.098 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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.002039/0.002039, allocations: 64.12 kB / 0.6181 GB, free: 1.098 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.2134/0.2154, allocations: 102 MB / 0.7176 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003674/0.2191, allocations: 1.997 MB / 0.7196 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006448/0.2255, allocations: 3.904 MB / 0.7234 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.2257, allocations: 7.938 kB / 0.7234 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.2267, allocations: 179.1 kB / 0.7236 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.2269, allocations: 71.41 kB / 0.7237 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.2279, allocations: 306.5 kB / 0.7239 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008449/0.2288, allocations: 398.7 kB / 0.7243 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.2289, allocations: 28.58 kB / 0.7244 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.2292, allocations: 163.5 kB / 0.7245 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.2294, allocations: 119.4 kB / 0.7246 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.2295, allocations: 16 kB / 0.7246 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006926/0.2302, allocations: 311.5 kB / 0.7249 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2303, allocations: 103.6 kB / 0.725 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.2305, allocations: 123.3 kB / 0.7252 GB, free: 3.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000862/0.2313, allocations: 0.5369 MB / 0.7257 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2313, allocations: 4 kB / 0.7257 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2313, allocations: 0 / 0.7257 GB, free: 2.957 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.2313, allocations: 0 / 0.7257 GB, free: 2.957 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001592/0.2329, allocations: 0.6964 MB / 0.7264 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.233, allocations: 8.031 kB / 0.7264 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.747e-05/0.2331, allocations: 38.75 kB / 0.7264 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/0.2335, allocations: 80.64 kB / 0.7265 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/0.2343, allocations: 292.7 kB / 0.7268 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2343, allocations: 8.375 kB / 0.7268 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.2343, allocations: 16.25 kB / 0.7268 GB, free: 1.754 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.2349, allocations: 200 kB / 0.727 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2349, allocations: 0 / 0.727 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.2349, allocations: 11.98 kB / 0.727 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2349, allocations: 4 kB / 0.727 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/0.2357, allocations: 235.8 kB / 0.7272 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.2372, allocations: 0.5307 MB / 0.7277 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.2376, allocations: 166.4 kB / 0.7279 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.238, allocations: 140.8 kB / 0.728 GB, free: 432 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.2381, allocations: 16 kB / 0.728 GB, free: 416 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.2381, allocations: 34.56 kB / 0.7281 GB, free: 372 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.2381, allocations: 0 / 0.7281 GB, free: 372 kB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001451/0.2396, allocations: 445.4 kB / 0.7285 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.2396, allocations: 63.34 kB / 0.7286 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.2402, allocations: 421.9 kB / 0.729 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.2402, allocations: 33.7 kB / 0.729 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.2404, allocations: 183.8 kB / 0.7292 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.2404, allocations: 31.7 kB / 0.7292 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/0.2405, allocations: 41.69 kB / 0.7292 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.2407, allocations: 350.7 kB / 0.7296 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.2412, allocations: 217.6 kB / 0.7298 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.2417, allocations: 205.6 kB / 0.73 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009104/0.2426, allocations: 370.8 kB / 0.7303 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2426, allocations: 0 / 0.7303 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001218/0.2438, allocations: 0.5122 MB / 0.7308 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.159e-05/0.2439, allocations: 41.69 kB / 0.7309 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2439, allocations: 0 / 0.7309 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.2439, allocations: 0 / 0.7309 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/0.2443, allocations: 47.94 kB / 0.7309 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.2443, allocations: 7.938 kB / 0.7309 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.2446, allocations: 43.81 kB / 0.731 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.2446, allocations: 7.984 kB / 0.731 GB, free: 13.3 MB / 0.6355 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0002455/0.2449, allocations: 157.8 kB / 0.7311 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/0.2449, allocations: 35.77 kB / 0.7312 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.246, allocations: 344.2 kB / 0.7315 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.246, allocations: 4 kB / 0.7315 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.246, allocations: 3.938 kB / 0.7315 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.246, allocations: 0 / 0.7315 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.2465, allocations: 292.5 kB / 0.7318 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2465, allocations: 0 / 0.7318 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.2468, allocations: 47.89 kB / 0.7318 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.2468, allocations: 3.984 kB / 0.7318 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.2469, allocations: 8 kB / 0.7318 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2469, allocations: 0 / 0.7318 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.2469, allocations: 3.938 kB / 0.7318 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/0.2479, allocations: 415.1 kB / 0.7322 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.248, allocations: 55.67 kB / 0.7323 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.2481, allocations: 4 kB / 0.7323 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.2483, allocations: 23.97 kB / 0.7323 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.2484, allocations: 23.84 kB / 0.7323 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.2484, allocations: 7.984 kB / 0.7323 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003703/0.2488, allocations: 295.1 kB / 0.7326 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2488, allocations: 4 kB / 0.7326 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005143/0.2493, allocations: 115.8 kB / 0.7327 GB, free: 11.42 MB / 0.6355 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 (11): * Single equations (assignments): 11 * 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.001734/0.251, allocations: 1.024 MB / 0.7337 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.2523, allocations: 468.7 kB / 0.7342 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2523, allocations: 0 / 0.7342 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.2528, allocations: 135.8 kB / 0.7343 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.2534, allocations: 74.08 kB / 0.7344 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/0.2608, allocations: 4.38 MB / 0.7387 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.261, allocations: 183.1 kB / 0.7388 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.2612, allocations: 53.91 kB / 0.7389 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.2615, allocations: 104.5 kB / 0.739 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of SimCode: time 1.292e-06/0.2615, allocations: 0 / 0.739 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04454/0.306, allocations: 9.468 MB / 0.7482 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.14, allocations: 4 kB / 0.7482 GB, free: 11.55 MB / 0.6511 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.396604124995065] Failed to read output from testmodel.py, exit status != 0: 12.248775194995687 12.563664064 12.328828045 Calling exit ...