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.0008847/0.0008847, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.00127/0.00127, allocations: 222.2 kB / 22.25 MB, free: 3.574 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.012/1.012, allocations: 230.6 MB / 256 MB, free: 9.617 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.8052/0.8052, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.0009159/0.0009159, allocations: 72.52 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5561, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002423/0.5585, allocations: 2.098 MB / 0.8194 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00387/0.5624, allocations: 3.93 MB / 0.8233 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.5625, allocations: 10.28 kB / 0.8233 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007367/0.5632, allocations: 171 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.5634, allocations: 84.09 kB / 0.8235 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.5639, allocations: 330.5 kB / 0.8238 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005471/0.5644, allocations: 457.4 kB / 0.8243 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.5645, allocations: 35.64 kB / 0.8243 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.5647, allocations: 142.8 kB / 0.8244 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.5649, allocations: 147.5 kB / 0.8246 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.5649, allocations: 21.59 kB / 0.8246 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004838/0.5654, allocations: 327.8 kB / 0.8249 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.5656, allocations: 118.6 kB / 0.825 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.5657, allocations: 135.8 kB / 0.8252 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007186/0.5664, allocations: 0.5958 MB / 0.8257 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5664, allocations: 0 / 0.8257 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5664, allocations: 0 / 0.8257 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.5664, allocations: 1.531 kB / 0.8257 GB, free: 12.12 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.001042/0.5675, allocations: 0.7404 MB / 0.8265 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5675, allocations: 9 kB / 0.8265 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.5676, allocations: 41.36 kB / 0.8265 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007524/0.5683, allocations: 242.8 kB / 0.8267 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.5689, allocations: 352.2 kB / 0.8271 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.343e-05/0.5689, allocations: 19.52 kB / 0.8271 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.569, allocations: 10.41 kB / 0.8271 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.5694, allocations: 247.5 kB / 0.8273 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5694, allocations: 0 / 0.8273 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.5694, allocations: 9.094 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.5694, allocations: 2.562 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000622/0.5701, allocations: 330.2 kB / 0.8277 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009126/0.571, allocations: 0.6087 MB / 0.8283 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.5713, allocations: 212.8 kB / 0.8285 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.5717, allocations: 178.4 kB / 0.8286 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.5717, allocations: 20.05 kB / 0.8287 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.5717, allocations: 32.23 kB / 0.8287 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.5717, allocations: 4.812 kB / 0.8287 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001141/0.5729, allocations: 0.571 MB / 0.8293 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.5729, allocations: 57.34 kB / 0.8293 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.5734, allocations: 455 kB / 0.8297 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.5734, allocations: 27.44 kB / 0.8298 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.5735, allocations: 193 kB / 0.83 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.5736, allocations: 49.19 kB / 0.83 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/0.5737, allocations: 50.28 kB / 0.83 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5738, allocations: 350.8 kB / 0.8304 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.5742, allocations: 339.1 kB / 0.8307 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.5746, allocations: 335.7 kB / 0.831 GB, free: 9.332 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/0.5754, allocations: 0.5197 MB / 0.8315 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5754, allocations: 1.844 kB / 0.8315 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009457/0.5763, allocations: 0.771 MB / 0.8323 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.5763, allocations: 44.38 kB / 0.8323 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5763, allocations: 4 kB / 0.8323 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.5764, allocations: 1.156 kB / 0.8323 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.5766, allocations: 64.48 kB / 0.8324 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5766, allocations: 1.688 kB / 0.8324 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.5768, allocations: 53.03 kB / 0.8324 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.5768, allocations: 17.41 kB / 0.8325 GB, free: 8.824 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.0001215/0.5769, allocations: 158.8 kB / 0.8326 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.577, allocations: 40.78 kB / 0.8327 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007608/0.5777, allocations: 440.7 kB / 0.8331 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5777, allocations: 6.312 kB / 0.8331 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5777, allocations: 1.531 kB / 0.8331 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5778, allocations: 4.734 kB / 0.8331 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.578, allocations: 310.5 kB / 0.8334 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.578, allocations: 0 / 0.8334 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.5782, allocations: 62.97 kB / 0.8334 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5782, allocations: 0.5625 kB / 0.8334 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.5782, allocations: 4.531 kB / 0.8334 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5783, allocations: 6 kB / 0.8335 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5783, allocations: 0 / 0.8335 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/0.579, allocations: 0.5014 MB / 0.8339 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.567e-05/0.5791, allocations: 65.97 kB / 0.834 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.5791, allocations: 5.156 kB / 0.834 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.5793, allocations: 34 kB / 0.834 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.5793, allocations: 24.72 kB / 0.8341 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.5793, allocations: 10.84 kB / 0.8341 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002476/0.5796, allocations: 311.1 kB / 0.8344 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5796, allocations: 0 / 0.8344 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003588/0.5799, allocations: 135 kB / 0.8345 GB, free: 7.84 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.001078/0.581, allocations: 1.113 MB / 0.8356 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009064/0.5819, allocations: 0.627 MB / 0.8362 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5819, allocations: 1 kB / 0.8362 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.5823, allocations: 182.2 kB / 0.8364 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.5826, allocations: 66.64 kB / 0.8364 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.5879, allocations: 5.421 MB / 0.8417 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.588, allocations: 194.8 kB / 0.8419 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.5882, allocations: 54.66 kB / 0.842 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.5883, allocations: 126.2 kB / 0.8421 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.5883, allocations: 0 / 0.8421 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.6126, allocations: 10.2 MB / 0.8521 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/7.228, allocations: 12.91 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.352356694173068] Failed to read output from testmodel.py, exit status != 0: 7.309754552785307 7.323834863 6.754738497 Calling exit ...