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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 104.7 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8162/0.8162, allocations: 134 MB / 436.6 MB, free: 1.258 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 68.28 kB / 0.6051 GB, free: 15.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 84.68 MB / 0.6878 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01193/0.1655, allocations: 8.541 MB / 0.6961 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4962/0.6617, allocations: 156.6 MB / 0.8491 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.6631, allocations: 41.16 kB / 0.8491 GB, free: 5.551 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.001028/0.6642, allocations: 371.3 kB / 0.8495 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.6666, allocations: 0.8956 MB / 0.8504 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.6696, allocations: 1.422 MB / 0.8518 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005073/0.6747, allocations: 5.229 MB / 0.8569 GB, free: 92 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.6775, allocations: 2.266 MB / 0.8591 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.6808, allocations: 2.115 MB / 0.8611 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.6835, allocations: 2.159 MB / 0.8632 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000716/0.6843, allocations: 0.5273 MB / 0.8638 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.6863, allocations: 1.14 MB / 0.8649 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.6873, allocations: 1.164 MB / 0.866 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002408/0.6897, allocations: 2.235 MB / 0.8682 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007162/0.6969, allocations: 6.366 MB / 0.8744 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6969, allocations: 0 / 0.8744 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6969, allocations: 0 / 0.8744 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001105/0.697, allocations: 0 / 0.8744 GB, free: 15.82 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.009422/0.7064, allocations: 4.725 MB / 0.879 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.7064, allocations: 8.031 kB / 0.879 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006424/0.7071, allocations: 0.498 MB / 0.8795 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009325/0.7164, allocations: 1.386 MB / 0.8809 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005117/0.7215, allocations: 2.446 MB / 0.8833 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005007/0.722, allocations: 0.5048 MB / 0.8838 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006171/0.7226, allocations: 360 kB / 0.8841 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.7334, allocations: 5.214 MB / 0.8892 GB, free: 396 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.54e-05/0.7335, allocations: 6.047 kB / 0.8892 GB, free: 392 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003604/0.7338, allocations: 155.9 kB / 0.8893 GB, free: 236 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.978e-05/0.7339, allocations: 92 kB / 0.8894 GB, free: 144 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.7466, allocations: 5.558 MB / 0.8949 GB, free: 10.57 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.0347/0.7813, allocations: 19.2 MB / 0.9136 GB, free: 6.121 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.7926, allocations: 4.289 MB / 0.9178 GB, free: 1.828 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/0.7968, allocations: 1.759 MB / 0.9195 GB, free: 60 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/0.7981, allocations: 1.081 MB / 0.9206 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005137/0.8033, allocations: 2.279 MB / 0.9228 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=259): time 4.939e-06/0.8033, allocations: 0 / 0.9228 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259): time 0.01552/0.8188, allocations: 5.833 MB / 0.9285 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.8189, allocations: 210 kB / 0.9287 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004051/0.823, allocations: 2.223 MB / 0.9309 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004007/0.8234, allocations: 69.7 kB / 0.9309 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001571/0.825, allocations: 1.478 MB / 0.9324 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/0.8261, allocations: 0.9024 MB / 0.9333 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001457/0.8275, allocations: 0.6063 MB / 0.9338 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.8276, allocations: 301.1 kB / 0.9341 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004536/0.8322, allocations: 1.754 MB / 0.9358 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005036/0.8372, allocations: 2.179 MB / 0.938 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009398/0.8466, allocations: 3.869 MB / 0.9418 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.8466, allocations: 7.984 kB / 0.9418 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01172/0.8584, allocations: 4.499 MB / 0.9462 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.8584, allocations: 33.7 kB / 0.9462 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.8584, allocations: 8 kB / 0.9462 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.8591, allocations: 100.9 kB / 0.9463 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004014/0.8631, allocations: 0.8151 MB / 0.9471 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.8654, allocations: 1.711 MB / 0.9488 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003721/0.8691, allocations: 0.5002 MB / 0.9492 GB, free: 0.6641 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003914/0.8695, allocations: 155.8 kB / 0.9494 GB, free: 0.5117 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.002158/0.8717, allocations: 1.029 MB / 0.9504 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008606/0.8726, allocations: 274.2 kB / 0.9507 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.8848, allocations: 5.066 MB / 0.9556 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-05/0.8849, allocations: 28 kB / 0.9556 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.8849, allocations: 4 kB / 0.9556 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/0.8849, allocations: 15.95 kB / 0.9557 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/0.9038, allocations: 8.983 MB / 0.9644 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.9039, allocations: 0 / 0.9644 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003303/0.9072, allocations: 0.6904 MB / 0.9651 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/0.9076, allocations: 84.72 kB / 0.9652 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/0.9079, allocations: 79.94 kB / 0.9653 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.9099, allocations: 1.721 MB / 0.9669 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9099, allocations: 3.984 kB / 0.9669 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00957/0.9195, allocations: 3.99 MB / 0.9708 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/0.9216, allocations: 0.8302 MB / 0.9716 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007332/0.9223, allocations: 79.73 kB / 0.9717 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002893/0.9252, allocations: 307.6 kB / 0.972 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/0.9256, allocations: 198.1 kB / 0.9722 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002575/0.9259, allocations: 99.92 kB / 0.9723 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003039/0.9289, allocations: 1.695 MB / 0.974 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9289, allocations: 0 / 0.974 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00299/0.9319, allocations: 1.036 MB / 0.975 GB, free: 5.754 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.01191/0.9438, allocations: 5.15 MB / 0.98 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009571/0.9534, allocations: 3.958 MB / 0.9839 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.9534, allocations: 0 / 0.9839 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004575/0.958, allocations: 1.933 MB / 0.9858 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/0.9607, allocations: 0.4957 MB / 0.9862 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05769/1.018, allocations: 27.63 MB / 1.013 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002852/1.021, allocations: 2.51 MB / 1.016 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003972/1.025, allocations: 0.9676 MB / 1.017 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003098/1.028, allocations: 1.561 MB / 1.018 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of SimCode: time 1.092e-06/1.028, allocations: 0 / 1.018 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4193/1.448, allocations: 69.71 MB / 1.086 GB, free: 311.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/18.56, allocations: 6.484 kB / 1.086 GB, free: 311.3 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 & /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: 22.335976365953684] Failed to read output from testmodel.py, exit status != 0: 18.807780486997217 18.826059252 18.125803776 Calling exit ...