Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009997/0.0009997, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009749/0.0009749, allocations: 222.9 kB / 22.26 MB, free: 3.691 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.9878/0.9878, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8093/0.8093, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IDEAS_dev_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.001478/0.001478, allocations: 61.69 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5088, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002539/0.5114, allocations: 2.226 MB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004639/0.516, allocations: 4.269 MB / 0.8242 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.5161, allocations: 7.312 kB / 0.8242 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007742/0.5169, allocations: 192 kB / 0.8244 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.517, allocations: 79.86 kB / 0.8245 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008143/0.5179, allocations: 333.2 kB / 0.8248 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005628/0.5184, allocations: 452.5 kB / 0.8252 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.5185, allocations: 47.17 kB / 0.8253 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.5187, allocations: 143.5 kB / 0.8254 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.5188, allocations: 158.8 kB / 0.8256 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.5189, allocations: 20.59 kB / 0.8256 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004892/0.5194, allocations: 362 kB / 0.8259 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.5195, allocations: 112.2 kB / 0.826 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.5196, allocations: 177.8 kB / 0.8262 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006773/0.5203, allocations: 0.5856 MB / 0.8268 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5203, allocations: 0 / 0.8268 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5203, allocations: 5.531 kB / 0.8268 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.5203, allocations: 0 / 0.8268 GB, free: 11.56 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.001038/0.5213, allocations: 0.7442 MB / 0.8275 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5214, allocations: 9.625 kB / 0.8275 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.5214, allocations: 44.17 kB / 0.8276 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.5224, allocations: 316.9 kB / 0.8279 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006999/0.5231, allocations: 344.5 kB / 0.8282 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.5232, allocations: 17.5 kB / 0.8282 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.5232, allocations: 14.92 kB / 0.8282 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.5237, allocations: 264.7 kB / 0.8285 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.5237, allocations: 0 / 0.8285 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.5237, allocations: 6.359 kB / 0.8285 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5237, allocations: 1.219 kB / 0.8285 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.5243, allocations: 347 kB / 0.8288 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.5254, allocations: 0.6767 MB / 0.8295 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.5258, allocations: 217.3 kB / 0.8297 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.5262, allocations: 184.2 kB / 0.8298 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.767e-05/0.5262, allocations: 18.92 kB / 0.8299 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.5263, allocations: 40.53 kB / 0.8299 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.5263, allocations: 5.188 kB / 0.8299 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.00122/0.5275, allocations: 0.5886 MB / 0.8305 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.5275, allocations: 53.12 kB / 0.8305 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005689/0.5281, allocations: 459.9 kB / 0.831 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.5281, allocations: 26.2 kB / 0.831 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.5283, allocations: 194.4 kB / 0.8312 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.5283, allocations: 47.5 kB / 0.8312 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.5284, allocations: 53.31 kB / 0.8313 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5285, allocations: 350 kB / 0.8316 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/0.5289, allocations: 301.9 kB / 0.8319 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.5295, allocations: 311.2 kB / 0.8322 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.5304, allocations: 0.5329 MB / 0.8327 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5304, allocations: 0 / 0.8327 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001331/0.5318, allocations: 0.737 MB / 0.8334 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.5318, allocations: 44.47 kB / 0.8335 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5318, allocations: 2.141 kB / 0.8335 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5319, allocations: 1.25 kB / 0.8335 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.5322, allocations: 73.44 kB / 0.8336 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5322, allocations: 0 / 0.8336 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.5325, allocations: 53.88 kB / 0.8336 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.5325, allocations: 10.22 kB / 0.8336 GB, free: 8.312 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.000176/0.5327, allocations: 159.1 kB / 0.8338 GB, free: 8.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.5328, allocations: 40.22 kB / 0.8338 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.5338, allocations: 474.3 kB / 0.8343 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5338, allocations: 1.562 kB / 0.8343 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5338, allocations: 0 / 0.8343 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5338, allocations: 6.266 kB / 0.8343 GB, free: 8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.5342, allocations: 358.1 kB / 0.8346 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5342, allocations: 0 / 0.8346 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.5344, allocations: 58.66 kB / 0.8347 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5344, allocations: 1.984 kB / 0.8347 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.5345, allocations: 12.3 kB / 0.8347 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5345, allocations: 1.438 kB / 0.8347 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.5345, allocations: 3.938 kB / 0.8347 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.5352, allocations: 0.5239 MB / 0.8352 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.5353, allocations: 59.39 kB / 0.8352 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.5354, allocations: 5.062 kB / 0.8353 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.5356, allocations: 38.33 kB / 0.8353 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.5356, allocations: 20.77 kB / 0.8353 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.5356, allocations: 5.938 kB / 0.8353 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000312/0.536, allocations: 312 kB / 0.8356 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.536, allocations: 0 / 0.8356 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004806/0.5364, allocations: 130.3 kB / 0.8357 GB, free: 7.301 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.001276/0.5377, allocations: 1.128 MB / 0.8368 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009052/0.5386, allocations: 0.6306 MB / 0.8375 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5386, allocations: 5.094 kB / 0.8375 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.539, allocations: 190.9 kB / 0.8376 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.5393, allocations: 71.3 kB / 0.8377 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.5446, allocations: 5.319 MB / 0.8429 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.5449, allocations: 0.8011 MB / 0.8437 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002166/0.5451, allocations: 67.38 kB / 0.8438 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.5453, allocations: 117.2 kB / 0.8439 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.5453, allocations: 0 / 0.8439 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.5721, allocations: 9.609 MB / 0.8532 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.189/7.761, allocations: 5.75 kB / 0.8533 GB, free: 13.51 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.870496491901577] Failed to read output from testmodel.py, exit status != 0: 7.844295588089153 7.853409809 7.331121242 Calling exit ...