Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001318/0.001318, allocations: 76.44 kB / 19.03 MB, free: 1.094 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.001445/0.001445, allocations: 157.7 kB / 22.29 MB, free: 3.512 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.399/1.399, allocations: 177.2 MB / 202.7 MB, free: 4.836 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.236/1.236, allocations: 154.7 MB / 413.8 MB, free: 3.121 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.ASHRAESolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.002021/0.002021, allocations: 62.78 kB / 0.6181 GB, free: 1.086 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.2199/0.2219, allocations: 102 MB / 0.7177 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004446/0.2263, allocations: 2.095 MB / 0.7197 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006803/0.2331, allocations: 3.931 MB / 0.7235 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.2334, allocations: 0 / 0.7235 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.2345, allocations: 171.1 kB / 0.7237 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.2349, allocations: 83.28 kB / 0.7238 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.236, allocations: 342.2 kB / 0.7241 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00095/0.2369, allocations: 458.6 kB / 0.7245 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.2371, allocations: 32.86 kB / 0.7246 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004368/0.2375, allocations: 199.4 kB / 0.7248 GB, free: 3.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.2378, allocations: 151.4 kB / 0.7249 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.2379, allocations: 20 kB / 0.7249 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000745/0.2386, allocations: 323.5 kB / 0.7252 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.2388, allocations: 123.5 kB / 0.7254 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.239, allocations: 139.2 kB / 0.7255 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.24, allocations: 0.5953 MB / 0.7261 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.24, allocations: 0 / 0.7261 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 8.055e-06/0.24, allocations: 3.984 kB / 0.7261 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.24, allocations: 0 / 0.7261 GB, free: 2.566 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001716/0.2418, allocations: 0.7393 MB / 0.7268 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.2418, allocations: 12.02 kB / 0.7268 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.914e-05/0.2419, allocations: 42.75 kB / 0.7268 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.2433, allocations: 240.4 kB / 0.7271 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.2443, allocations: 344.7 kB / 0.7274 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.2443, allocations: 20.23 kB / 0.7274 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2443, allocations: 8 kB / 0.7274 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007913/0.2451, allocations: 249.4 kB / 0.7277 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2452, allocations: 0 / 0.7277 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.2452, allocations: 4 kB / 0.7277 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2452, allocations: 4 kB / 0.7277 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.2463, allocations: 331.6 kB / 0.728 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.2481, allocations: 0.6127 MB / 0.7286 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.2487, allocations: 218.4 kB / 0.7288 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/0.2493, allocations: 172.7 kB / 0.729 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.885e-05/0.2493, allocations: 15.98 kB / 0.729 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.2494, allocations: 42.5 kB / 0.729 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.2494, allocations: 0 / 0.729 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.001936/0.2513, allocations: 0.5598 MB / 0.7296 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.2514, allocations: 51.41 kB / 0.7296 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.2519, allocations: 449.8 kB / 0.73 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.252, allocations: 33.7 kB / 0.7301 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.2522, allocations: 200.3 kB / 0.7303 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.2522, allocations: 43.64 kB / 0.7303 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.2523, allocations: 49.69 kB / 0.7304 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.2525, allocations: 354.8 kB / 0.7307 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.2533, allocations: 329.7 kB / 0.731 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/0.2541, allocations: 353.9 kB / 0.7313 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.2554, allocations: 0.5184 MB / 0.7319 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2554, allocations: 0 / 0.7319 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001783/0.2572, allocations: 0.7634 MB / 0.7326 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/0.2572, allocations: 45.69 kB / 0.7326 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2572, allocations: 0 / 0.7326 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.2573, allocations: 4 kB / 0.7326 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.2577, allocations: 67.86 kB / 0.7327 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.2577, allocations: 7.984 kB / 0.7327 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.2582, allocations: 55.72 kB / 0.7328 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.2582, allocations: 11.98 kB / 0.7328 GB, free: 11.45 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 (18): * Single equations (assignments): 17 * 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.0002216/0.2584, allocations: 153.8 kB / 0.7329 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.2585, allocations: 43.72 kB / 0.733 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.2599, allocations: 440.8 kB / 0.7334 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.2599, allocations: 4 kB / 0.7334 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2599, allocations: 0 / 0.7334 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.26, allocations: 7.922 kB / 0.7334 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.2604, allocations: 308.5 kB / 0.7337 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2604, allocations: 4 kB / 0.7337 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.2609, allocations: 59.92 kB / 0.7338 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2609, allocations: 0 / 0.7338 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.2609, allocations: 11.98 kB / 0.7338 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2609, allocations: 4 kB / 0.7338 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2609, allocations: 0 / 0.7338 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.2622, allocations: 0.505 MB / 0.7343 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.2624, allocations: 63.62 kB / 0.7343 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.2625, allocations: 0 / 0.7343 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.2629, allocations: 43.94 kB / 0.7344 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.263, allocations: 19.91 kB / 0.7344 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.263, allocations: 4 kB / 0.7344 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003924/0.2634, allocations: 315.1 kB / 0.7347 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.2634, allocations: 0 / 0.7347 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005687/0.2639, allocations: 123.8 kB / 0.7348 GB, free: 9.305 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 (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.00208/0.266, allocations: 1.114 MB / 0.7359 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.2676, allocations: 0.6233 MB / 0.7365 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2676, allocations: 0 / 0.7365 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006154/0.2682, allocations: 187.8 kB / 0.7367 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.2688, allocations: 68.66 kB / 0.7368 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009356/0.2782, allocations: 5.433 MB / 0.7421 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.2784, allocations: 187.5 kB / 0.7422 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003098/0.2787, allocations: 65.91 kB / 0.7423 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.279, allocations: 120.4 kB / 0.7424 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of SimCode: time 1.383e-06/0.279, allocations: 0 / 0.7424 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05281/0.3318, allocations: 10.31 MB / 0.7525 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.16, allocations: 5.188 kB / 0.7525 GB, free: 7.215 MB / 0.6511 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.618573291998473] Failed to read output from testmodel.py, exit status != 0: 12.265968154009897 12.595654292 12.352615271 Calling exit ...