Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.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.001287/0.001287, allocations: 109.6 kB / 16.46 MB, free: 6.453 MB / 14.72 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.00139/0.00139, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8468/0.8468, allocations: 133.9 MB / 442.8 MB, free: 11.38 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.Buildings.Components.Examples.HorizontalFinExample,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.Examples.HorizontalFinExample,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample",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.00193/0.00193, allocations: 71.2 kB / 0.6134 GB, free: 8.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.17, allocations: 85.86 MB / 0.6973 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01133/0.1814, allocations: 8.577 MB / 0.7056 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5494/0.7307, allocations: 159.5 MB / 0.8614 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.7325, allocations: 55.56 kB / 0.8615 GB, free: 0.5156 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Examples/HorizontalFinExample.mo:7:3-8:71:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.00135/0.7338, allocations: 364.4 kB / 0.8618 GB, free: 160 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.7369, allocations: 0.9081 MB / 0.8627 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.7404, allocations: 1.45 MB / 0.8641 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006662/0.7471, allocations: 5.252 MB / 0.8693 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003713/0.7508, allocations: 2.264 MB / 0.8715 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004723/0.7555, allocations: 2.204 MB / 0.8736 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003306/0.7588, allocations: 2.178 MB / 0.8758 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.7601, allocations: 0.5273 MB / 0.8763 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.7627, allocations: 1.183 MB / 0.8774 GB, free: 100 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.764, allocations: 1.172 MB / 0.8786 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003171/0.7671, allocations: 2.239 MB / 0.8808 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008593/0.7757, allocations: 6.422 MB / 0.887 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.7757, allocations: 0 / 0.887 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.355e-06/0.7757, allocations: 0 / 0.887 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001704/0.7759, allocations: 0 / 0.887 GB, free: 6.23 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 937 * Number of variables: 937 Notification: Performance of Generate backend data structure: time 0.01141/0.7873, allocations: 4.754 MB / 0.8917 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.7874, allocations: 9.109 kB / 0.8917 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000904/0.7883, allocations: 0.498 MB / 0.8922 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/0.8046, allocations: 2.077 MB / 0.8942 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005643/0.8102, allocations: 2.466 MB / 0.8966 GB, free: 12.28 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005655/0.8108, allocations: 0.5048 MB / 0.8971 GB, free: 11.73 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.812, allocations: 360 kB / 0.8974 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/0.8256, allocations: 5.211 MB / 0.9025 GB, free: 6.066 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.069e-05/0.8257, allocations: 4 kB / 0.9025 GB, free: 6.062 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004724/0.8262, allocations: 148 kB / 0.9027 GB, free: 5.918 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-05/0.8263, allocations: 88 kB / 0.9028 GB, free: 5.832 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0152/0.8415, allocations: 5.562 MB / 0.9082 GB, free: 268 kB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03706/0.8785, allocations: 19.23 MB / 0.927 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/0.8917, allocations: 4.279 MB / 0.9311 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004848/0.8965, allocations: 1.763 MB / 0.9329 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.8979, allocations: 1.085 MB / 0.9339 GB, free: 4.414 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006061/0.9039, allocations: 2.275 MB / 0.9361 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=259): time 4.148e-06/0.9039, allocations: 0 / 0.9361 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259): time 0.01707/0.921, allocations: 5.837 MB / 0.9418 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/0.9212, allocations: 218 kB / 0.9421 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00367/0.9248, allocations: 2.248 MB / 0.9442 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007194/0.9256, allocations: 69.7 kB / 0.9443 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001681/0.9272, allocations: 1.486 MB / 0.9458 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001606/0.9288, allocations: 0.9101 MB / 0.9467 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.9301, allocations: 0.6024 MB / 0.9472 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9303, allocations: 305.1 kB / 0.9475 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00479/0.9351, allocations: 1.754 MB / 0.9492 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005714/0.9408, allocations: 2.175 MB / 0.9514 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/0.9513, allocations: 3.87 MB / 0.9551 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.9513, allocations: 4 kB / 0.9552 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.0132/0.9645, allocations: 4.5 MB / 0.9595 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.056e-05/0.9646, allocations: 33.7 kB / 0.9596 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.9646, allocations: 8 kB / 0.9596 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/0.9652, allocations: 100.9 kB / 0.9597 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004477/0.9697, allocations: 0.8151 MB / 0.9605 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.9722, allocations: 1.703 MB / 0.9621 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/0.9766, allocations: 0.5095 MB / 0.9626 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000712/0.9773, allocations: 147.8 kB / 0.9628 GB, free: 6.141 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 17 (sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (327): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002422/0.9797, allocations: 1.03 MB / 0.9638 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008478/0.9806, allocations: 270.2 kB / 0.964 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.9936, allocations: 5.07 MB / 0.969 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/0.9936, allocations: 28 kB / 0.969 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.9936, allocations: 4 kB / 0.969 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-05/0.9937, allocations: 11.95 kB / 0.969 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/1.013, allocations: 9.008 MB / 0.9778 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.013, allocations: 0 / 0.9778 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/1.017, allocations: 0.6904 MB / 0.9785 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005088/1.018, allocations: 80.73 kB / 0.9786 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003573/1.018, allocations: 87.86 kB / 0.9787 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/1.02, allocations: 1.721 MB / 0.9804 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.02, allocations: 0 / 0.9804 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.031, allocations: 3.982 MB / 0.9842 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/1.033, allocations: 0.838 MB / 0.9851 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006424/1.034, allocations: 87.67 kB / 0.9851 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003006/1.037, allocations: 306.2 kB / 0.9854 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004597/1.037, allocations: 194.1 kB / 0.9856 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/1.037, allocations: 99.92 kB / 0.9857 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002903/1.04, allocations: 1.719 MB / 0.9874 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9.1e-08/1.04, allocations: 0 / 0.9874 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003164/1.043, allocations: 1.04 MB / 0.9884 GB, free: 11.32 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,pulse.T_start,pulse.count) * Number of discrete states: 3 (pulse.count,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01275/1.056, allocations: 5.138 MB / 0.9934 GB, free: 6.305 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.067, allocations: 3.965 MB / 0.9973 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.067, allocations: 0 / 0.9973 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.005245/1.073, allocations: 1.933 MB / 0.9992 GB, free: 344 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/1.075, allocations: 0.5015 MB / 0.9997 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06458/1.14, allocations: 27.71 MB / 1.027 GB, free: 3.715 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002695/1.143, allocations: 2.525 MB / 1.029 GB, free: 1.16 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003931/1.147, allocations: 0.9688 MB / 1.03 GB, free: 192 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003522/1.15, allocations: 1.569 MB / 1.032 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of SimCode: time 1.183e-06/1.15, allocations: 0 / 1.032 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5204/1.67, allocations: 70.15 MB / 1.1 GB, free: 289.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.95/19.62, allocations: 13.55 kB / 1.1 GB, free: 289.9 MB / 0.8262 GB " [Timeout remaining time 640] (rm -f IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample_res.csv --start-time 2e+06 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample.fmu > IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.519795647996943] Failed to read output from testmodel.py, exit status != 0: 19.852389587002108 19.863401688 19.085278668 Calling exit ...