Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001847/0.001847, allocations: 72.45 kB / 19.02 MB, free: 1.125 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.002217/0.002217, allocations: 164.2 kB / 22.29 MB, free: 3.527 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.466/1.466, allocations: 177.2 MB / 202.7 MB, free: 4.82 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.224/1.224, allocations: 154.7 MB / 413.8 MB, free: 3.102 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.EN12975HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.002105/0.002105, allocations: 72.98 kB / 0.6181 GB, free: 1.09 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.2237/0.2258, allocations: 102 MB / 0.7176 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003558/0.2294, allocations: 1.851 MB / 0.7195 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005119/0.2345, allocations: 3.449 MB / 0.7228 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2346, allocations: 4 kB / 0.7228 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009547/0.2356, allocations: 178.5 kB / 0.723 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.2358, allocations: 87.52 kB / 0.7231 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.236, allocations: 55.86 kB / 0.7231 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.2365, allocations: 283 kB / 0.7234 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2367, allocations: 13.81 kB / 0.7234 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.2369, allocations: 111.6 kB / 0.7235 GB, free: 5.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.237, allocations: 83.55 kB / 0.7236 GB, free: 5.098 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.2371, allocations: 8 kB / 0.7236 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2372, allocations: 28 kB / 0.7236 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.062e-05/0.2373, allocations: 59.75 kB / 0.7237 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.97e-05/0.2374, allocations: 71.53 kB / 0.7238 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.2377, allocations: 203 kB / 0.724 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2377, allocations: 0 / 0.724 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2377, allocations: 0 / 0.724 GB, free: 4.734 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2377, allocations: 0 / 0.724 GB, free: 4.734 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.001005/0.2387, allocations: 484.8 kB / 0.7244 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2387, allocations: 8.031 kB / 0.7244 GB, free: 4.223 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.073e-05/0.2388, allocations: 34.75 kB / 0.7245 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.2392, allocations: 60.7 kB / 0.7245 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.2398, allocations: 202.6 kB / 0.7247 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2398, allocations: 12.31 kB / 0.7247 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.2398, allocations: 4.375 kB / 0.7247 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.2402, allocations: 141.5 kB / 0.7249 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2402, allocations: 3.984 kB / 0.7249 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.2402, allocations: 4 kB / 0.7249 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.2403, allocations: 8 kB / 0.7249 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.2408, allocations: 147.8 kB / 0.725 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.2416, allocations: 415.6 kB / 0.7254 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.2421, allocations: 154.5 kB / 0.7256 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.2423, allocations: 108.7 kB / 0.7257 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.2424, allocations: 0 / 0.7257 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2424, allocations: 38.56 kB / 0.7257 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.2424, allocations: 0 / 0.7257 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0009393/0.2433, allocations: 297.6 kB / 0.726 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.2434, allocations: 55.41 kB / 0.726 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.2437, allocations: 256.2 kB / 0.7263 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.2437, allocations: 29.7 kB / 0.7263 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2438, allocations: 128.1 kB / 0.7264 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-05/0.2439, allocations: 55.53 kB / 0.7265 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.2439, allocations: 25.7 kB / 0.7265 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2441, allocations: 346.8 kB / 0.7268 GB, free: 1.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.2444, allocations: 75.88 kB / 0.7269 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.2446, allocations: 75.92 kB / 0.727 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.2451, allocations: 167.2 kB / 0.7271 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2451, allocations: 3.938 kB / 0.7271 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006116/0.2457, allocations: 217.4 kB / 0.7274 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.2457, allocations: 8 kB / 0.7274 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2458, allocations: 0 / 0.7274 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2458, allocations: 4 kB / 0.7274 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.246, allocations: 39.89 kB / 0.7274 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2461, allocations: 0 / 0.7274 GB, free: 1.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.2462, allocations: 19.92 kB / 0.7274 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.2462, allocations: 7.938 kB / 0.7274 GB, free: 0.9766 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.0001623/0.2464, allocations: 141.8 kB / 0.7276 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.2465, allocations: 23.81 kB / 0.7276 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.111e-05/0.2465, allocations: 37.8 kB / 0.7276 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2465, allocations: 4 kB / 0.7276 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2466, allocations: 0 / 0.7276 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2466, allocations: 0 / 0.7276 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.2469, allocations: 228.5 kB / 0.7278 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2469, allocations: 4 kB / 0.7278 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.2471, allocations: 35.91 kB / 0.7279 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2471, allocations: 0 / 0.7279 GB, free: 472 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.2471, allocations: 7.984 kB / 0.7279 GB, free: 464 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2471, allocations: 0 / 0.7279 GB, free: 464 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2471, allocations: 4 kB / 0.7279 GB, free: 460 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008056/0.2479, allocations: 323.2 kB / 0.7282 GB, free: 120 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.2481, allocations: 35.83 kB / 0.7282 GB, free: 84 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.2481, allocations: 4 kB / 0.7282 GB, free: 80 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.2483, allocations: 11.98 kB / 0.7283 GB, free: 68 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.2484, allocations: 15.98 kB / 0.7283 GB, free: 52 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.2484, allocations: 7.984 kB / 0.7283 GB, free: 44 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002201/0.2486, allocations: 191 kB / 0.7285 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.2486, allocations: 0 / 0.7285 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002986/0.2489, allocations: 32 kB / 0.7285 GB, free: 15.83 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.001096/0.25, allocations: 0.8634 MB / 0.7293 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006025/0.2506, allocations: 171.8 kB / 0.7295 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2506, allocations: 0 / 0.7295 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.2509, allocations: 95.86 kB / 0.7296 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.2513, allocations: 57.48 kB / 0.7296 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.2552, allocations: 2.448 MB / 0.732 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.2554, allocations: 136.1 kB / 0.7322 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002086/0.2556, allocations: 57.42 kB / 0.7322 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.2557, allocations: 60.47 kB / 0.7323 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.473e-06/0.2557, allocations: 0 / 0.7323 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.2943, allocations: 5.837 MB / 0.738 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.88, allocations: 0 / 0.738 GB, free: 6.176 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.97421214300266] Failed to read output from testmodel.py, exit status != 0: 11.987541523005348 12.008348792 11.766882542 Calling exit ...