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: 113.5 kB / 19.73 MB, free: 2.242 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.001376/0.001376, allocations: 219.2 kB / 23.04 MB, free: 5.078 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.8157/0.8157, allocations: 134 MB / 447.2 MB, free: 10.25 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.001925/0.001925, allocations: 68.72 kB / 0.6193 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1562, allocations: 85.91 MB / 0.7032 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01137/0.1675, allocations: 8.631 MB / 0.7116 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5492/0.7168, allocations: 159.7 MB / 0.8676 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.7186, allocations: 51.56 kB / 0.8677 GB, free: 14.36 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.001447/0.7201, allocations: 368.4 kB / 0.868 GB, free: 14 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003539/0.7236, allocations: 0.9198 MB / 0.8689 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.7275, allocations: 1.457 MB / 0.8703 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006905/0.7344, allocations: 5.271 MB / 0.8755 GB, free: 6.34 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003718/0.7381, allocations: 1.835 MB / 0.8773 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004367/0.7424, allocations: 2.207 MB / 0.8794 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003648/0.7461, allocations: 2.171 MB / 0.8815 GB, free: 60 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001551/0.7476, allocations: 0.5274 MB / 0.8821 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.7508, allocations: 1.187 MB / 0.8832 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.7526, allocations: 1.176 MB / 0.8844 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00378/0.7564, allocations: 2.243 MB / 0.8866 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00928/0.7656, allocations: 6.417 MB / 0.8928 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7656, allocations: 0 / 0.8928 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.809e-06/0.7656, allocations: 3.984 kB / 0.8928 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000188/0.7658, allocations: 0 / 0.8928 GB, free: 4.473 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.0113/0.7771, allocations: 4.669 MB / 0.8974 GB, free: 15.73 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.7772, allocations: 16.03 kB / 0.8974 GB, free: 15.72 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000109/0.7773, allocations: 96.91 kB / 0.8975 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001035/0.7783, allocations: 0.5019 MB / 0.898 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/0.7941, allocations: 2.073 MB / 0.9 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00534/0.7995, allocations: 2.425 MB / 0.9024 GB, free: 10.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006563/0.8001, allocations: 0.7143 MB / 0.9031 GB, free: 9.758 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.8012, allocations: 356 kB / 0.9034 GB, free: 9.41 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.8129, allocations: 5.211 MB / 0.9085 GB, free: 4.102 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-05/0.813, allocations: 7.938 kB / 0.9085 GB, free: 4.094 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.8134, allocations: 148 kB / 0.9086 GB, free: 3.949 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.979e-05/0.8134, allocations: 88 kB / 0.9087 GB, free: 3.863 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.8271, allocations: 5.562 MB / 0.9142 GB, free: 14.29 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.03437/0.8614, allocations: 19.17 MB / 0.9329 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.8738, allocations: 4.276 MB / 0.9371 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004746/0.8785, allocations: 1.752 MB / 0.9388 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008751/0.8794, allocations: 201.7 kB / 0.939 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006098/0.8855, allocations: 2.283 MB / 0.9412 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=259): time 4.959e-06/0.8855, allocations: 0 / 0.9412 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of matching and sorting (n=259): time 0.01653/0.902, allocations: 5.758 MB / 0.9468 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.9022, allocations: 210 kB / 0.947 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003663/0.9059, allocations: 2.259 MB / 0.9492 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004625/0.9063, allocations: 69.7 kB / 0.9493 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.9078, allocations: 1.474 MB / 0.9507 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.9089, allocations: 0.914 MB / 0.9516 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.91, allocations: 0.6028 MB / 0.9522 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.9101, allocations: 301.1 kB / 0.9525 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004525/0.9147, allocations: 1.758 MB / 0.9542 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005226/0.9199, allocations: 2.167 MB / 0.9563 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.9301, allocations: 3.868 MB / 0.9601 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/0.9301, allocations: 4 kB / 0.9601 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01284/0.9429, allocations: 4.503 MB / 0.9645 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.858e-05/0.943, allocations: 41.75 kB / 0.9645 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.943, allocations: 8 kB / 0.9646 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006674/0.9437, allocations: 96.78 kB / 0.9646 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004358/0.948, allocations: 0.8228 MB / 0.9655 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.9504, allocations: 1.598 MB / 0.967 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/0.9547, allocations: 0.5077 MB / 0.9675 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005658/0.9553, allocations: 151.8 kB / 0.9677 GB, free: 5.551 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.00242/0.9577, allocations: 1.024 MB / 0.9687 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008419/0.9585, allocations: 278.1 kB / 0.9689 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.9712, allocations: 5.07 MB / 0.9739 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-05/0.9712, allocations: 28 kB / 0.9739 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9712, allocations: 0 / 0.9739 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-05/0.9713, allocations: 15.94 kB / 0.9739 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/0.9913, allocations: 8.986 MB / 0.9827 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/0.9913, allocations: 3.938 kB / 0.9827 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003642/0.9949, allocations: 0.6943 MB / 0.9834 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004963/0.9954, allocations: 80.8 kB / 0.9834 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004012/0.9958, allocations: 83.92 kB / 0.9835 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.998, allocations: 1.607 MB / 0.9851 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.998, allocations: 8.062 kB / 0.9851 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.008, allocations: 3.982 MB / 0.989 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/1.01, allocations: 0.7885 MB / 0.9898 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000634/1.011, allocations: 79.67 kB / 0.9898 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/1.014, allocations: 315.6 kB / 0.9901 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004345/1.014, allocations: 202 kB / 0.9903 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/1.015, allocations: 99.92 kB / 0.9904 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002733/1.017, allocations: 1.715 MB / 0.9921 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/1.017, allocations: 3.938 kB / 0.9921 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003447/1.021, allocations: 1.04 MB / 0.9931 GB, free: 10.95 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.01254/1.033, allocations: 5.147 MB / 0.9981 GB, free: 5.934 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01064/1.044, allocations: 3.965 MB / 1.002 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.044, allocations: 0 / 1.002 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004957/1.049, allocations: 1.933 MB / 1.004 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/1.052, allocations: 498.3 kB / 1.004 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06104/1.113, allocations: 27.73 MB / 1.031 GB, free: 3.312 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/1.115, allocations: 2.529 MB / 1.034 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003454/1.118, allocations: 0.9688 MB / 1.035 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002788/1.121, allocations: 1.569 MB / 1.036 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of SimCode: time 1.423e-06/1.121, allocations: 0 / 1.036 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4632/1.584, allocations: 72.41 MB / 1.107 GB, free: 286.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.38/19.97, allocations: 10.67 kB / 1.107 GB, free: 286.1 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 os._exit(0), Time elapsed: 23.67981518106535] Failed to read output from testmodel.py, exit status != 0: 20.27943287207745 20.295310874 19.526365843 Calling exit ...