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.001538/0.001538, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001701/0.001701, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8008/0.8008, allocations: 134 MB / 447.2 MB, free: 9.949 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.Examples.HorizontalFinExample,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample",fmuType="cs",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.001928/0.001928, allocations: 78.62 kB / 0.6192 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.168, allocations: 85.91 MB / 0.7031 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01022/0.1783, allocations: 7.502 MB / 0.7105 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5216/0.6999, allocations: 137.7 MB / 0.8449 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.7017, allocations: 51.62 kB / 0.845 GB, free: 2.18 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.00142/0.7031, allocations: 364.4 kB / 0.8453 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.7065, allocations: 0.9214 MB / 0.8462 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.7102, allocations: 1.442 MB / 0.8476 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006473/0.7167, allocations: 5.264 MB / 0.8528 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/0.7197, allocations: 1.827 MB / 0.8546 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003759/0.7234, allocations: 2.21 MB / 0.8567 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/0.7264, allocations: 2.172 MB / 0.8588 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008256/0.7272, allocations: 0.5273 MB / 0.8594 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.7294, allocations: 1.159 MB / 0.8605 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.7304, allocations: 1.172 MB / 0.8616 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.7326, allocations: 1.796 MB / 0.8634 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007312/0.7399, allocations: 6.46 MB / 0.8697 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7399, allocations: 0 / 0.8697 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7399, allocations: 0 / 0.8697 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000129/0.74, allocations: 0 / 0.8697 GB, free: 8.758 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.009231/0.7492, allocations: 4.673 MB / 0.8743 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.7493, allocations: 12.03 kB / 0.8743 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.427e-05/0.7494, allocations: 95.34 kB / 0.8744 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006437/0.75, allocations: 0.498 MB / 0.8749 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01551/0.7655, allocations: 2.077 MB / 0.8769 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005062/0.7706, allocations: 2.425 MB / 0.8792 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005854/0.7712, allocations: 0.7118 MB / 0.8799 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007064/0.7719, allocations: 356 kB / 0.8803 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.7855, allocations: 5.466 MB / 0.8856 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-05/0.7855, allocations: 7.875 kB / 0.8856 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.786, allocations: 156 kB / 0.8858 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.509e-05/0.786, allocations: 88 kB / 0.8859 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.7988, allocations: 5.558 MB / 0.8913 GB, free: 2.262 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.02711/0.8259, allocations: 13.54 MB / 0.9045 GB, free: 4.555 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.8363, allocations: 4.271 MB / 0.9087 GB, free: 284 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004003/0.8403, allocations: 1.755 MB / 0.9104 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007765/0.8411, allocations: 173.8 kB / 0.9106 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004942/0.8461, allocations: 2.371 MB / 0.9129 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=259): time 5.871e-06/0.8461, allocations: 0 / 0.9129 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259): time 0.01459/0.8606, allocations: 5.766 MB / 0.9185 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.8608, allocations: 210 kB / 0.9187 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.8641, allocations: 2.255 MB / 0.9209 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002869/0.8644, allocations: 73.7 kB / 0.921 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.8658, allocations: 1.478 MB / 0.9224 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009116/0.8667, allocations: 0.914 MB / 0.9233 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/0.8678, allocations: 0.5985 MB / 0.9239 GB, free: 444 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8679, allocations: 309.1 kB / 0.9242 GB, free: 132 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004231/0.8722, allocations: 1.775 MB / 0.9259 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004978/0.8771, allocations: 2.527 MB / 0.9284 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008948/0.8861, allocations: 3.873 MB / 0.9322 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.8861, allocations: 0 / 0.9322 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01118/0.8973, allocations: 4.524 MB / 0.9366 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.8973, allocations: 37.69 kB / 0.9366 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.8974, allocations: 8.469 kB / 0.9366 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006688/0.898, allocations: 104.7 kB / 0.9367 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00413/0.9022, allocations: 0.8229 MB / 0.9375 GB, free: 2.023 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.9044, allocations: 1.591 MB / 0.9391 GB, free: 316 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/0.9084, allocations: 0.513 MB / 0.9396 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004255/0.9089, allocations: 147.8 kB / 0.9397 GB, free: 15.65 MB / 0.7169 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.002216/0.9111, allocations: 1.026 MB / 0.9407 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007676/0.9119, allocations: 274.2 kB / 0.941 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/0.9237, allocations: 5.062 MB / 0.9459 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/0.9237, allocations: 35.98 kB / 0.946 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9237, allocations: 7.938 kB / 0.946 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/0.9237, allocations: 11.95 kB / 0.946 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01802/0.9418, allocations: 8.448 MB / 0.9542 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.9418, allocations: 0 / 0.9542 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003441/0.9452, allocations: 0.6904 MB / 0.9549 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/0.9457, allocations: 84.78 kB / 0.955 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/0.946, allocations: 75.94 kB / 0.9551 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.948, allocations: 1.606 MB / 0.9566 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.948, allocations: 4.062 kB / 0.9566 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009554/0.9576, allocations: 3.99 MB / 0.9605 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/0.9596, allocations: 0.7807 MB / 0.9613 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005677/0.9602, allocations: 75.67 kB / 0.9614 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/0.963, allocations: 309.5 kB / 0.9617 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004436/0.9635, allocations: 205.9 kB / 0.9619 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/0.9637, allocations: 96 kB / 0.962 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002781/0.9665, allocations: 1.727 MB / 0.9636 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9665, allocations: 0 / 0.9636 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00295/0.9694, allocations: 1.036 MB / 0.9647 GB, free: 5.609 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.01164/0.9811, allocations: 5.192 MB / 0.9697 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009652/0.9907, allocations: 3.987 MB / 0.9736 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.9907, allocations: 4.062 kB / 0.9736 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004585/0.9953, allocations: 1.925 MB / 0.9755 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/0.9983, allocations: 0.4966 MB / 0.976 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05817/1.056, allocations: 27.83 MB / 1.003 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002319/1.059, allocations: 1.994 MB / 1.005 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003787/1.063, allocations: 0.9688 MB / 1.006 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002737/1.065, allocations: 1.561 MB / 1.008 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of SimCode: time 2.094e-06/1.065, allocations: 0 / 1.008 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4695/1.535, allocations: 73.83 MB / 1.08 GB, free: 296.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.02/20.55, allocations: 11.56 kB / 1.08 GB, free: 296.5 MB / 0.8262 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample_fmu --startTime=2e+06 --stopTime=3e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample.fmu > IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.26272578490898] Failed to read output from testmodel.py, exit status != 0: 20.862474426045083 20.882984764 20.139500213 Calling exit ...