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.001291/0.001291, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001634/0.001634, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.805 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.8377/0.8377, 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.002069/0.002069, allocations: 62.22 kB / 0.6185 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1672, allocations: 85.92 MB / 0.7024 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01156/0.1787, allocations: 7.506 MB / 0.7097 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5905/0.7692, allocations: 137.8 MB / 0.8443 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002327/0.7715, allocations: 51.62 kB / 0.8443 GB, free: 1.996 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.001587/0.7731, allocations: 364.4 kB / 0.8447 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.7771, allocations: 0.9261 MB / 0.8456 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004313/0.7814, allocations: 1.452 MB / 0.847 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00715/0.7886, allocations: 5.26 MB / 0.8521 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004002/0.7926, allocations: 1.819 MB / 0.8539 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004626/0.7972, allocations: 2.251 MB / 0.8561 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003933/0.8012, allocations: 2.147 MB / 0.8582 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001608/0.8028, allocations: 0.5195 MB / 0.8587 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004859/0.8076, allocations: 1.136 MB / 0.8598 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002677/0.8103, allocations: 1.153 MB / 0.8609 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004712/0.815, allocations: 1.785 MB / 0.8627 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009797/0.8248, allocations: 6.413 MB / 0.869 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.8248, allocations: 7.938 kB / 0.869 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8248, allocations: 0 / 0.869 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000152/0.825, allocations: 0 / 0.869 GB, free: 8.656 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.01036/0.8353, allocations: 4.645 MB / 0.8735 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.8354, allocations: 8.031 kB / 0.8735 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007442/0.8361, allocations: 0.498 MB / 0.874 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.8519, allocations: 2.081 MB / 0.876 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006516/0.8585, allocations: 2.436 MB / 0.8784 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007049/0.8592, allocations: 0.7056 MB / 0.8791 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.8603, allocations: 360 kB / 0.8794 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.8721, allocations: 5.444 MB / 0.8847 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-05/0.8722, allocations: 7.938 kB / 0.8848 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.8726, allocations: 152 kB / 0.8849 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.693e-05/0.8727, allocations: 88 kB / 0.885 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.886, allocations: 5.456 MB / 0.8903 GB, free: 2.398 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.03123/0.9172, allocations: 13.35 MB / 0.9033 GB, free: 4.883 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/0.9293, allocations: 4.182 MB / 0.9074 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004767/0.9341, allocations: 1.756 MB / 0.9091 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000941/0.935, allocations: 169.8 kB / 0.9093 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005982/0.941, allocations: 2.349 MB / 0.9116 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=259): time 7.233e-06/0.941, allocations: 0 / 0.9116 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259): time 0.01696/0.958, allocations: 5.684 MB / 0.9172 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.9581, allocations: 210 kB / 0.9174 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004326/0.9625, allocations: 2.15 MB / 0.9195 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005582/0.963, allocations: 69.7 kB / 0.9195 GB, free: 4.094 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.9647, allocations: 1.501 MB / 0.921 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/0.966, allocations: 0.9024 MB / 0.9219 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001824/0.9678, allocations: 0.6063 MB / 0.9225 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9679, allocations: 301.1 kB / 0.9227 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004703/0.9727, allocations: 1.752 MB / 0.9245 GB, free: 15 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005276/0.9779, allocations: 2.503 MB / 0.9269 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009527/0.9875, allocations: 3.817 MB / 0.9306 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.9875, allocations: 0 / 0.9306 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01309/1.001, allocations: 4.477 MB / 0.935 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.123e-05/1.001, allocations: 47.92 kB / 0.935 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/1.001, allocations: 4 kB / 0.935 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007349/1.001, allocations: 101.2 kB / 0.9351 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/1.006, allocations: 0.8073 MB / 0.9359 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/1.009, allocations: 1.589 MB / 0.9375 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/1.013, allocations: 494 kB / 0.938 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007973/1.014, allocations: 155.8 kB / 0.9381 GB, free: 484 kB / 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.002924/1.017, allocations: 1.026 MB / 0.9391 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/1.018, allocations: 270.3 kB / 0.9394 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/1.032, allocations: 5.042 MB / 0.9443 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.275e-05/1.032, allocations: 32 kB / 0.9443 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.032, allocations: 4 kB / 0.9443 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.11e-05/1.032, allocations: 11.95 kB / 0.9443 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02065/1.052, allocations: 8.352 MB / 0.9525 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.052, allocations: 0 / 0.9525 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003536/1.056, allocations: 0.6709 MB / 0.9531 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/1.056, allocations: 84.73 kB / 0.9532 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003892/1.057, allocations: 79.92 kB / 0.9533 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/1.059, allocations: 1.606 MB / 0.9549 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.059, allocations: 0 / 0.9549 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/1.07, allocations: 3.943 MB / 0.9587 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/1.072, allocations: 0.7612 MB / 0.9595 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008589/1.073, allocations: 83.67 kB / 0.9595 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.076, allocations: 283.6 kB / 0.9598 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/1.076, allocations: 206 kB / 0.96 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003227/1.077, allocations: 95.98 kB / 0.9601 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003598/1.08, allocations: 1.633 MB / 0.9617 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.08, allocations: 0 / 0.9617 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00367/1.084, allocations: 1.025 MB / 0.9627 GB, free: 6.77 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.01408/1.098, allocations: 5.137 MB / 0.9677 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01168/1.11, allocations: 3.944 MB / 0.9716 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.11, allocations: 4 kB / 0.9716 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.005571/1.115, allocations: 1.901 MB / 0.9734 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/1.119, allocations: 0.4961 MB / 0.9739 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07211/1.191, allocations: 26.98 MB / 1 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003804/1.195, allocations: 1.985 MB / 1.002 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004886/1.2, allocations: 0.961 MB / 1.003 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003723/1.204, allocations: 1.569 MB / 1.005 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of SimCode: time 8.91e-07/1.204, allocations: 0 / 1.005 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5112/1.715, allocations: 71.98 MB / 1.075 GB, free: 304.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/17.87, allocations: 9.172 kB / 1.075 GB, free: 304.4 MB / 0.8262 GB " [Timeout remaining time 642] (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 sys.exit(0), Time elapsed: 21.758817511145025] Failed to read output from testmodel.py, exit status != 0: 18.12343184230849 18.145809943 17.316457488 Calling exit ...