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.001269/0.001269, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001449/0.001449, allocations: 218 kB / 22.25 MB, free: 5.121 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.953 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.8403/0.8403, allocations: 134 MB / 446.4 MB, free: 10.18 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.001972/0.001972, allocations: 73.88 kB / 0.6185 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1802, allocations: 85.91 MB / 0.7024 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01168/0.1919, allocations: 8.631 MB / 0.7109 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5075/0.6994, allocations: 159.7 MB / 0.8668 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.7009, allocations: 47.62 kB / 0.8669 GB, free: 14.33 MB / 0.6387 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.001237/0.7022, allocations: 368.4 kB / 0.8672 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.705, allocations: 0.9174 MB / 0.8681 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.7082, allocations: 1.454 MB / 0.8696 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006314/0.7145, allocations: 5.275 MB / 0.8747 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.7174, allocations: 1.827 MB / 0.8765 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003744/0.7211, allocations: 2.206 MB / 0.8786 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.7241, allocations: 2.171 MB / 0.8808 GB, free: 36 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009178/0.725, allocations: 0.5313 MB / 0.8813 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.7274, allocations: 1.191 MB / 0.8824 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.7286, allocations: 1.168 MB / 0.8836 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003028/0.7317, allocations: 2.247 MB / 0.8858 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007571/0.7392, allocations: 6.417 MB / 0.892 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7392, allocations: 4 kB / 0.8921 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7392, allocations: 0 / 0.8921 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.00011/0.7393, allocations: 0 / 0.8921 GB, free: 4.445 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.009264/0.7486, allocations: 4.673 MB / 0.8966 GB, free: 15.71 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.7487, allocations: 8.031 kB / 0.8966 GB, free: 15.7 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006964/0.7494, allocations: 0.5019 MB / 0.8971 GB, free: 15.19 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/0.765, allocations: 2.073 MB / 0.8991 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005996/0.771, allocations: 2.421 MB / 0.9015 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006737/0.7716, allocations: 0.7095 MB / 0.9022 GB, free: 9.836 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/0.7727, allocations: 360 kB / 0.9025 GB, free: 9.484 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.7833, allocations: 5.218 MB / 0.9076 GB, free: 4.168 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.341e-05/0.7834, allocations: 0 / 0.9076 GB, free: 4.168 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003578/0.7838, allocations: 148 kB / 0.9078 GB, free: 4.023 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-05/0.7838, allocations: 95.94 kB / 0.9079 GB, free: 3.93 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/0.7962, allocations: 5.559 MB / 0.9133 GB, free: 14.36 MB / 0.6856 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.03029/0.8265, allocations: 19.17 MB / 0.932 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/0.8376, allocations: 4.281 MB / 0.9362 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004095/0.8417, allocations: 1.755 MB / 0.9379 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008153/0.8425, allocations: 197.7 kB / 0.9381 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004836/0.8474, allocations: 2.275 MB / 0.9403 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=259): time 5.309e-06/0.8474, allocations: 0 / 0.9403 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259): time 0.01505/0.8624, allocations: 5.762 MB / 0.9459 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.8626, allocations: 206 kB / 0.9461 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004041/0.8666, allocations: 2.251 MB / 0.9483 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003187/0.8669, allocations: 73.69 kB / 0.9484 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00164/0.8686, allocations: 1.482 MB / 0.9499 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/0.8696, allocations: 0.914 MB / 0.9508 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/0.8711, allocations: 0.6067 MB / 0.9513 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.8712, allocations: 301.1 kB / 0.9516 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004449/0.8757, allocations: 1.746 MB / 0.9533 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004848/0.8805, allocations: 2.175 MB / 0.9555 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009035/0.8895, allocations: 3.866 MB / 0.9592 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.8896, allocations: 4 kB / 0.9592 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01177/0.9013, allocations: 4.498 MB / 0.9636 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/0.9014, allocations: 43.72 kB / 0.9637 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.9014, allocations: 4.5 kB / 0.9637 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/0.902, allocations: 105.2 kB / 0.9638 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/0.9061, allocations: 0.815 MB / 0.9646 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.9085, allocations: 1.618 MB / 0.9662 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003836/0.9123, allocations: 0.4978 MB / 0.9666 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004045/0.9127, allocations: 151.8 kB / 0.9668 GB, free: 5.621 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.002225/0.9149, allocations: 1.028 MB / 0.9678 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008144/0.9158, allocations: 274.2 kB / 0.9681 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.9281, allocations: 5.074 MB / 0.973 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/0.9281, allocations: 28 kB / 0.973 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.9281, allocations: 3.984 kB / 0.973 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.518e-05/0.9281, allocations: 15.94 kB / 0.9731 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/0.9467, allocations: 8.986 MB / 0.9818 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.9468, allocations: 0 / 0.9818 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003545/0.9503, allocations: 0.6904 MB / 0.9825 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005038/0.9508, allocations: 76.73 kB / 0.9826 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003212/0.9511, allocations: 83.92 kB / 0.9827 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.9532, allocations: 1.618 MB / 0.9842 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.9532, allocations: 3.938 kB / 0.9842 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009833/0.9631, allocations: 3.986 MB / 0.9881 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/0.9653, allocations: 0.7807 MB / 0.9889 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008255/0.9661, allocations: 87.59 kB / 0.989 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003101/0.9692, allocations: 303.6 kB / 0.9893 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004617/0.9697, allocations: 202 kB / 0.9895 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002863/0.9699, allocations: 107.9 kB / 0.9896 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003768/0.9737, allocations: 1.715 MB / 0.9912 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9737, allocations: 0 / 0.9912 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003093/0.9768, allocations: 1.04 MB / 0.9923 GB, free: 11.02 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.01219/0.989, allocations: 5.144 MB / 0.9973 GB, free: 6.004 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009954/0.9989, allocations: 3.97 MB / 1.001 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.999, allocations: 4.062 kB / 1.001 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004579/1.004, allocations: 1.917 MB / 1.003 GB, free: 44 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.007, allocations: 0.505 MB / 1.004 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05972/1.066, allocations: 27.72 MB / 1.031 GB, free: 3.383 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003324/1.07, allocations: 2.529 MB / 1.033 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004145/1.074, allocations: 0.9727 MB / 1.034 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003057/1.077, allocations: 1.565 MB / 1.036 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of SimCode: time 7.92e-07/1.077, allocations: 7.875 kB / 1.036 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4709/1.548, allocations: 72.37 MB / 1.106 GB, free: 286.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.53/20.08, allocations: 6.719 kB / 1.106 GB, free: 286.3 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 & /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: 23.897791701136157] Failed to read output from testmodel.py, exit status != 0: 20.338961380068213 20.355801895 19.613238431 Calling exit ...