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.001267/0.001267, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001411/0.001411, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.789 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.8817/0.8817, allocations: 134 MB / 446.4 MB, free: 9.941 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.002441/0.002441, allocations: 66.19 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1787, allocations: 85.92 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01116/0.1899, allocations: 7.507 MB / 0.7097 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5458/0.7357, allocations: 137.8 MB / 0.8443 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.7374, allocations: 47.62 kB / 0.8443 GB, free: 2.074 MB / 0.6075 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.001423/0.7388, allocations: 372.4 kB / 0.8447 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.7421, allocations: 0.9211 MB / 0.8456 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003855/0.746, allocations: 1.457 MB / 0.847 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006911/0.7529, allocations: 5.252 MB / 0.8521 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003913/0.7568, allocations: 1.815 MB / 0.8539 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004399/0.7612, allocations: 2.249 MB / 0.8561 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003924/0.7651, allocations: 2.155 MB / 0.8582 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001665/0.7668, allocations: 0.5234 MB / 0.8587 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.7701, allocations: 1.132 MB / 0.8598 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.7721, allocations: 1.157 MB / 0.8609 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003912/0.776, allocations: 1.781 MB / 0.8627 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009267/0.7852, allocations: 6.424 MB / 0.869 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7852, allocations: 4 kB / 0.869 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7852, allocations: 0 / 0.869 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002504/0.7855, allocations: 3.938 kB / 0.869 GB, free: 8.723 MB / 0.6387 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.01092/0.7964, allocations: 4.641 MB / 0.8735 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.7965, allocations: 12.03 kB / 0.8735 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006332/0.7971, allocations: 0.498 MB / 0.874 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01509/0.8122, allocations: 2.073 MB / 0.876 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/0.8181, allocations: 2.433 MB / 0.8784 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006781/0.8188, allocations: 0.7134 MB / 0.8791 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/0.8198, allocations: 360 kB / 0.8794 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.8317, allocations: 5.446 MB / 0.8848 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.374e-05/0.8318, allocations: 4 kB / 0.8848 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003809/0.8321, allocations: 148 kB / 0.8849 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.639e-05/0.8322, allocations: 92 kB / 0.885 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/0.8457, allocations: 5.452 MB / 0.8903 GB, free: 2.469 MB / 0.6544 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.02861/0.8743, allocations: 13.35 MB / 0.9034 GB, free: 4.949 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/0.885, allocations: 4.173 MB / 0.9074 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004116/0.8891, allocations: 1.752 MB / 0.9091 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007628/0.8898, allocations: 177.7 kB / 0.9093 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004921/0.8948, allocations: 2.344 MB / 0.9116 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=259): time 5.07e-06/0.8948, allocations: 0 / 0.9116 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259): time 0.0147/0.9095, allocations: 5.684 MB / 0.9171 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.9096, allocations: 214 kB / 0.9174 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003112/0.9127, allocations: 2.146 MB / 0.9194 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004021/0.9131, allocations: 73.7 kB / 0.9195 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.9145, allocations: 1.497 MB / 0.921 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009816/0.9155, allocations: 0.8946 MB / 0.9219 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009993/0.9165, allocations: 0.6024 MB / 0.9224 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9167, allocations: 309.1 kB / 0.9227 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004165/0.9208, allocations: 1.748 MB / 0.9244 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004818/0.9256, allocations: 2.503 MB / 0.9269 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008831/0.9345, allocations: 3.825 MB / 0.9306 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.9345, allocations: 4 kB / 0.9306 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01158/0.9461, allocations: 4.478 MB / 0.935 GB, free: 3.859 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.514e-05/0.9461, allocations: 35.89 kB / 0.935 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.9462, allocations: 8.469 kB / 0.935 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/0.9468, allocations: 100.8 kB / 0.9351 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/0.9508, allocations: 0.8034 MB / 0.9359 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.9532, allocations: 1.611 MB / 0.9375 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/0.9571, allocations: 489.8 kB / 0.938 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006005/0.9577, allocations: 151.8 kB / 0.9381 GB, free: 0.5469 MB / 0.7012 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.002745/0.9605, allocations: 1.03 MB / 0.9391 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/0.9616, allocations: 270.3 kB / 0.9394 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/0.9749, allocations: 5.031 MB / 0.9443 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-05/0.975, allocations: 28 kB / 0.9443 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.04e-05/0.975, allocations: 0 / 0.9443 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.863e-05/0.975, allocations: 15.94 kB / 0.9443 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/0.9938, allocations: 8.352 MB / 0.9525 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.9938, allocations: 4 kB / 0.9525 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003263/0.9971, allocations: 0.6709 MB / 0.9531 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.9975, allocations: 88.72 kB / 0.9532 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/0.9978, allocations: 79.92 kB / 0.9533 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.9999, allocations: 1.606 MB / 0.9549 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9999, allocations: 4.062 kB / 0.9549 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.01, allocations: 3.939 MB / 0.9587 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002229/1.012, allocations: 0.769 MB / 0.9595 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007739/1.013, allocations: 79.67 kB / 0.9595 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002901/1.016, allocations: 283.6 kB / 0.9598 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004644/1.016, allocations: 205.9 kB / 0.96 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002776/1.017, allocations: 99.94 kB / 0.9601 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003315/1.02, allocations: 1.633 MB / 0.9617 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.02, allocations: 0 / 0.9617 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003349/1.023, allocations: 1.028 MB / 0.9627 GB, free: 6.832 MB / 0.7325 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.01263/1.036, allocations: 5.126 MB / 0.9677 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.046, allocations: 3.935 MB / 0.9716 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.046, allocations: 4.062 kB / 0.9716 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004929/1.051, allocations: 1.905 MB / 0.9734 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003346/1.055, allocations: 0.5108 MB / 0.9739 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07053/1.125, allocations: 26.98 MB / 1 GB, free: 0 / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005104/1.13, allocations: 1.994 MB / 1.002 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.006677/1.137, allocations: 0.9609 MB / 1.003 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004939/1.142, allocations: 1.561 MB / 1.005 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of SimCode: time 2.124e-06/1.142, allocations: 0 / 1.005 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4926/1.634, allocations: 71.97 MB / 1.075 GB, free: 302.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.69/18.32, allocations: 8.203 kB / 1.075 GB, free: 302.6 MB / 0.8262 GB " [Timeout remaining time 641] (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: 22.251949732657522] Failed to read output from testmodel.py, exit status != 0: 18.58041693503037 18.597881986 17.809006666 Calling exit ...