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.0007979/0.0007979, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008991/0.0008991, allocations: 206.6 kB / 22.24 MB, free: 3.582 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 0.9678/0.9678, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7639/0.7639, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [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.001233/0.001233, allocations: 63.16 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5292, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002525/0.5317, allocations: 2.098 MB / 0.8194 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003646/0.5354, allocations: 3.931 MB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.781e-05/0.5354, allocations: 6.062 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006266/0.5361, allocations: 183.6 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.5362, allocations: 78.56 kB / 0.8235 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.5367, allocations: 330.7 kB / 0.8238 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.5372, allocations: 458.4 kB / 0.8243 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.5373, allocations: 35.97 kB / 0.8243 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.5375, allocations: 137.9 kB / 0.8244 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.5377, allocations: 151.1 kB / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.5377, allocations: 20.72 kB / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004275/0.5381, allocations: 329.1 kB / 0.8249 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.5383, allocations: 114.9 kB / 0.825 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.5384, allocations: 143.3 kB / 0.8252 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.539, allocations: 0.5931 MB / 0.8258 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.539, allocations: 0 / 0.8258 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.539, allocations: 0.7031 kB / 0.8258 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.539, allocations: 0 / 0.8258 GB, free: 12.11 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.0009584/0.54, allocations: 0.7428 MB / 0.8265 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.54, allocations: 9.969 kB / 0.8265 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.5401, allocations: 39.84 kB / 0.8265 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007532/0.5408, allocations: 243.8 kB / 0.8268 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.5414, allocations: 349 kB / 0.8271 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.5414, allocations: 12.28 kB / 0.8271 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.5415, allocations: 11.81 kB / 0.8271 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.5419, allocations: 249.7 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5419, allocations: 4 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.542, allocations: 5.406 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.542, allocations: 2.141 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006121/0.5426, allocations: 330 kB / 0.8277 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008965/0.5435, allocations: 0.6079 MB / 0.8283 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.5438, allocations: 213.8 kB / 0.8285 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.5442, allocations: 174.4 kB / 0.8286 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.5442, allocations: 20.47 kB / 0.8287 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.5442, allocations: 37.89 kB / 0.8287 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.5442, allocations: 0 / 0.8287 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001132/0.5454, allocations: 0.5732 MB / 0.8293 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.5454, allocations: 53.83 kB / 0.8293 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.546, allocations: 451.8 kB / 0.8297 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.546, allocations: 34.36 kB / 0.8298 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.5461, allocations: 197.5 kB / 0.83 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.5462, allocations: 48.28 kB / 0.83 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.796e-05/0.5463, allocations: 50.36 kB / 0.8301 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002546/0.5465, allocations: 351.1 kB / 0.8304 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.547, allocations: 338.4 kB / 0.8307 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.5474, allocations: 337.2 kB / 0.831 GB, free: 9.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007967/0.5482, allocations: 0.5233 MB / 0.8315 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5482, allocations: 1.062 kB / 0.8315 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001184/0.5494, allocations: 0.7664 MB / 0.8323 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.5495, allocations: 45.61 kB / 0.8323 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.5495, allocations: 0 / 0.8323 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.5495, allocations: 1.094 kB / 0.8323 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.5498, allocations: 68.33 kB / 0.8324 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.5498, allocations: 5.094 kB / 0.8324 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.55, allocations: 53.83 kB / 0.8325 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.55, allocations: 9.531 kB / 0.8325 GB, free: 8.816 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 (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.0001387/0.5502, allocations: 158.5 kB / 0.8326 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.5502, allocations: 40.84 kB / 0.8327 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008488/0.5511, allocations: 444.5 kB / 0.8331 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5511, allocations: 1.938 kB / 0.8331 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.5511, allocations: 1.438 kB / 0.8331 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5511, allocations: 4.594 kB / 0.8331 GB, free: 8.516 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.5515, allocations: 314.1 kB / 0.8334 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5515, allocations: 1.438 kB / 0.8334 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.5517, allocations: 58.17 kB / 0.8334 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.5517, allocations: 0 / 0.8334 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.5518, allocations: 5.25 kB / 0.8335 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.5518, allocations: 0 / 0.8335 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5518, allocations: 0.9688 kB / 0.8335 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/0.5526, allocations: 0.51 MB / 0.8339 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5527, allocations: 62.11 kB / 0.834 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.5527, allocations: 1.312 kB / 0.834 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.5529, allocations: 38.36 kB / 0.834 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.553, allocations: 24.64 kB / 0.8341 GB, free: 8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.553, allocations: 5.891 kB / 0.8341 GB, free: 8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002648/0.5532, allocations: 315.2 kB / 0.8344 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5532, allocations: 1.125 kB / 0.8344 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004605/0.5537, allocations: 130.8 kB / 0.8345 GB, free: 7.836 MB / 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.001273/0.555, allocations: 1.117 MB / 0.8356 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000936/0.5559, allocations: 0.6238 MB / 0.8362 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5559, allocations: 0 / 0.8362 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.5563, allocations: 186.2 kB / 0.8364 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.5566, allocations: 66.7 kB / 0.8364 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.5618, allocations: 5.423 MB / 0.8417 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.562, allocations: 191.1 kB / 0.8419 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.5621, allocations: 58.34 kB / 0.842 GB, free: 3.598 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.5623, allocations: 121.8 kB / 0.8421 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5623, allocations: 0 / 0.8421 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.5864, allocations: 10.2 MB / 0.8521 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/7.268, allocations: 11.84 kB / 0.8521 GB, free: 14.17 MB / 0.6355 GB " [Timeout remaining time 653] (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: 10.187785957939923] Failed to read output from testmodel.py, exit status != 0: 7.349987528286874 7.36141928 6.820546956 Calling exit ...