Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.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.001689/0.001689, 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.001643/0.001643, allocations: 168 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.398/1.398, allocations: 177.2 MB / 202.7 MB, free: 4.809 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.252/1.252, 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 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.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",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.002092/0.002092, allocations: 68.86 kB / 0.6181 GB, free: 1.004 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.2112/0.2132, allocations: 102 MB / 0.7176 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.003995/0.2172, allocations: 2.201 MB / 0.7198 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00653/0.2238, allocations: 4.582 MB / 0.7243 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.2239, allocations: 7.938 kB / 0.7243 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009545/0.2249, allocations: 239.9 kB / 0.7245 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.2252, allocations: 135.1 kB / 0.7246 GB, free: 3.941 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.2254, allocations: 75.83 kB / 0.7247 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006671/0.226, allocations: 406.4 kB / 0.7251 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.2262, allocations: 69.83 kB / 0.7252 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.2265, allocations: 203.3 kB / 0.7254 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.2268, allocations: 143.4 kB / 0.7255 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.2268, allocations: 16 kB / 0.7255 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.2269, allocations: 28 kB / 0.7255 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.2271, allocations: 95.64 kB / 0.7256 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.2273, allocations: 123.2 kB / 0.7257 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.2277, allocations: 346.3 kB / 0.7261 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2277, allocations: 0 / 0.7261 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2277, allocations: 0 / 0.7261 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2277, allocations: 0 / 0.7261 GB, free: 2.465 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001404/0.2291, allocations: 0.6131 MB / 0.7267 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2292, allocations: 8.031 kB / 0.7267 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.2293, allocations: 66.62 kB / 0.7267 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.2297, allocations: 87.64 kB / 0.7268 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.2304, allocations: 267.4 kB / 0.7271 GB, free: 1.363 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.2304, allocations: 12 kB / 0.7271 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.2304, allocations: 19.98 kB / 0.7271 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/0.2311, allocations: 300.2 kB / 0.7274 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2311, allocations: 0 / 0.7274 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.2312, allocations: 15.88 kB / 0.7274 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/0.2312, allocations: 24.48 kB / 0.7274 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008561/0.2321, allocations: 305.8 kB / 0.7277 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.234, allocations: 0.7085 MB / 0.7284 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.2348, allocations: 295.6 kB / 0.7287 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004562/0.2352, allocations: 164.7 kB / 0.7289 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.2352, allocations: 4 kB / 0.7289 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.2353, allocations: 34.56 kB / 0.7289 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.2353, allocations: 0 / 0.7289 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001429/0.2367, allocations: 0.4896 MB / 0.7294 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.2368, allocations: 55.41 kB / 0.7294 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.2371, allocations: 317.7 kB / 0.7297 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.2371, allocations: 29.7 kB / 0.7298 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.2373, allocations: 192.4 kB / 0.7299 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.196e-05/0.2374, allocations: 87.25 kB / 0.73 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2375, allocations: 49.69 kB / 0.7301 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.2377, allocations: 346.8 kB / 0.7304 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.2381, allocations: 135.9 kB / 0.7305 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.2385, allocations: 162.3 kB / 0.7307 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008209/0.2393, allocations: 303.1 kB / 0.731 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2393, allocations: 0 / 0.731 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009531/0.2403, allocations: 376.9 kB / 0.7313 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2403, allocations: 8.625 kB / 0.7313 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.2403, allocations: 0 / 0.7313 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2403, allocations: 0 / 0.7313 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.2407, allocations: 71.94 kB / 0.7314 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2407, allocations: 4 kB / 0.7314 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.241, allocations: 27.86 kB / 0.7314 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.241, allocations: 8 kB / 0.7315 GB, free: 12.74 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 25 * 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.0002014/0.2412, allocations: 161.7 kB / 0.7316 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.2413, allocations: 35.77 kB / 0.7316 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.2414, allocations: 55.41 kB / 0.7317 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2414, allocations: 0 / 0.7317 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2414, allocations: 8 kB / 0.7317 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2414, allocations: 0 / 0.7317 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.2432, allocations: 0.8019 MB / 0.7325 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2432, allocations: 3.938 kB / 0.7325 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.2435, allocations: 51.95 kB / 0.7325 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2435, allocations: 3.938 kB / 0.7325 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.2435, allocations: 11.98 kB / 0.7326 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2435, allocations: 0 / 0.7326 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2435, allocations: 3.938 kB / 0.7326 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000993/0.2445, allocations: 464 kB / 0.733 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.2447, allocations: 63.72 kB / 0.7331 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.2447, allocations: 8 kB / 0.7331 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.245, allocations: 19.97 kB / 0.7331 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.2451, allocations: 23.91 kB / 0.7331 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.2451, allocations: 7.984 kB / 0.7331 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002404/0.2454, allocations: 231.2 kB / 0.7333 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.2454, allocations: 0 / 0.7333 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003412/0.2457, allocations: 75.83 kB / 0.7334 GB, free: 10.66 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 (23): * Single equations (assignments): 23 * 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.001929/0.2476, allocations: 1.208 MB / 0.7346 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009173/0.2486, allocations: 303.6 kB / 0.7349 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2486, allocations: 0 / 0.7349 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.249, allocations: 159.9 kB / 0.735 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007691/0.2498, allocations: 93.3 kB / 0.7351 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.2552, allocations: 3.444 MB / 0.7385 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.2554, allocations: 191.8 kB / 0.7387 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003162/0.2557, allocations: 106.2 kB / 0.7388 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.2559, allocations: 108.5 kB / 0.7389 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.2559, allocations: 4 kB / 0.7389 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04446/0.3004, allocations: 8.873 MB / 0.7475 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.81, allocations: 9.062 kB / 0.7475 GB, free: 12.26 MB / 0.6511 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss_fmu --startTime=0 --stopTime=86400 --stepSize=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss.fmu > IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.214353826988372] Failed to read output from testmodel.py, exit status != 0: 11.920943723001983 12.213324879 11.707813412 Calling exit ...