Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.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.001226/0.001226, 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.001488/0.001488, allocations: 218.6 kB / 23.04 MB, free: 5.074 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.841/0.841, allocations: 134 MB / 447.2 MB, free: 10.23 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.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection",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.002101/0.002101, allocations: 62.84 kB / 0.6193 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1606, allocations: 85.91 MB / 0.7032 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01138/0.1719, allocations: 8.796 MB / 0.7118 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4812/0.6531, allocations: 159.8 MB / 0.8679 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.6547, allocations: 71.5 kB / 0.868 GB, free: 13.95 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). Notification: Performance of NFTyping.typeComponents: time 0.001004/0.6557, allocations: 360.5 kB / 0.8683 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.6589, allocations: 1.137 MB / 0.8694 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.6621, allocations: 1.431 MB / 0.8708 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006223/0.6683, allocations: 5.361 MB / 0.8761 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00266/0.671, allocations: 1.7 MB / 0.8777 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004079/0.6751, allocations: 2.211 MB / 0.8799 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003354/0.6784, allocations: 2.048 MB / 0.8819 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001062/0.6795, allocations: 0.4961 MB / 0.8824 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.6819, allocations: 1.148 MB / 0.8835 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.6831, allocations: 1.106 MB / 0.8846 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002813/0.6859, allocations: 2.13 MB / 0.8866 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008011/0.6939, allocations: 6.171 MB / 0.8927 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.6939, allocations: 4 kB / 0.8927 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6939, allocations: 0 / 0.8927 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001876/0.6941, allocations: 0 / 0.8927 GB, free: 4.551 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: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.01077/0.7048, allocations: 4.501 MB / 0.8971 GB, free: 15.98 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.7049, allocations: 8.625 kB / 0.8971 GB, free: 15.98 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.605e-05/0.705, allocations: 86.56 kB / 0.8972 GB, free: 15.89 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000837/0.7058, allocations: 459.4 kB / 0.8976 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/0.7212, allocations: 2.042 MB / 0.8996 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005088/0.7263, allocations: 2.431 MB / 0.902 GB, free: 10.89 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.7266, allocations: 250.6 kB / 0.9022 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007891/0.7273, allocations: 312 kB / 0.9025 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01028/0.7376, allocations: 4.773 MB / 0.9072 GB, free: 5.449 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.436e-05/0.7377, allocations: 7.938 kB / 0.9072 GB, free: 5.441 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000389/0.7381, allocations: 132 kB / 0.9073 GB, free: 5.312 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-05/0.7381, allocations: 80 kB / 0.9074 GB, free: 5.234 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.7511, allocations: 5.161 MB / 0.9124 GB, free: 64 kB / 0.67 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.03136/0.7825, allocations: 16.58 MB / 0.9286 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.7937, allocations: 4.046 MB / 0.9326 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00441/0.7982, allocations: 1.689 MB / 0.9342 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009342/0.7991, allocations: 217.7 kB / 0.9344 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005296/0.8044, allocations: 2.157 MB / 0.9365 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=239): time 4.018e-06/0.8044, allocations: 0 / 0.9365 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=239): time 0.01483/0.8192, allocations: 5.472 MB / 0.9419 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001864/0.8194, allocations: 291 kB / 0.9421 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/0.8231, allocations: 2.399 MB / 0.9445 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004609/0.8236, allocations: 69.7 kB / 0.9446 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.825, allocations: 1.447 MB / 0.946 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009961/0.826, allocations: 0.8404 MB / 0.9468 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.827, allocations: 0.5629 MB / 0.9473 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.8271, allocations: 301.1 kB / 0.9476 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00413/0.8312, allocations: 1.66 MB / 0.9492 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00461/0.8358, allocations: 2.05 MB / 0.9512 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009088/0.8449, allocations: 3.661 MB / 0.9548 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.8449, allocations: 0 / 0.9548 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01133/0.8563, allocations: 4.25 MB / 0.959 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.8563, allocations: 8.5 kB / 0.959 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.8563, allocations: 8 kB / 0.959 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/0.8569, allocations: 100.8 kB / 0.9591 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/0.8611, allocations: 0.7682 MB / 0.9598 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.8635, allocations: 1.605 MB / 0.9614 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004156/0.8676, allocations: 497.7 kB / 0.9619 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005955/0.8682, allocations: 135.8 kB / 0.962 GB, free: 11.85 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 12 (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,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (306): * Single equations (assignments): 305 * Array equations: 0 * Algorithm blocks: 0 * 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.002652/0.8709, allocations: 0.9907 MB / 0.963 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.872, allocations: 286.1 kB / 0.9632 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/0.8839, allocations: 4.458 MB / 0.9676 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.092e-05/0.884, allocations: 31.98 kB / 0.9676 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.884, allocations: 0 / 0.9676 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.15e-05/0.884, allocations: 19.89 kB / 0.9676 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01784/0.9018, allocations: 8.569 MB / 0.976 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.9019, allocations: 0 / 0.976 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003383/0.9052, allocations: 0.6281 MB / 0.9766 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.9057, allocations: 80.78 kB / 0.9767 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000311/0.906, allocations: 71.94 kB / 0.9768 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.9081, allocations: 1.617 MB / 0.9784 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.9081, allocations: 7.938 kB / 0.9784 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009613/0.9178, allocations: 3.755 MB / 0.982 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/0.9198, allocations: 0.7807 MB / 0.9828 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000682/0.9205, allocations: 75.77 kB / 0.9829 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003013/0.9235, allocations: 302.2 kB / 0.9832 GB, free: 5.703 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004046/0.9239, allocations: 169.8 kB / 0.9833 GB, free: 5.535 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002397/0.9242, allocations: 91.94 kB / 0.9834 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002985/0.9271, allocations: 1.797 MB / 0.9852 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9271, allocations: 0 / 0.9852 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003039/0.9302, allocations: 0.9662 MB / 0.9861 GB, free: 2.672 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01174/0.9419, allocations: 4.923 MB / 0.9909 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009757/0.9517, allocations: 3.681 MB / 0.9945 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.9517, allocations: 0 / 0.9945 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004491/0.9562, allocations: 1.791 MB / 0.9963 GB, free: 8.332 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/0.9593, allocations: 0.5066 MB / 0.9967 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0582/1.018, allocations: 27.01 MB / 1.023 GB, free: 12.36 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002319/1.02, allocations: 2.42 MB / 1.025 GB, free: 9.91 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003564/1.023, allocations: 0.9722 MB / 1.026 GB, free: 8.934 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002809/1.026, allocations: 1.452 MB / 1.028 GB, free: 7.48 MB / 0.795 GB Notification: Performance of SimCode: time 9.22e-07/1.026, allocations: 0 / 1.028 GB, free: 7.48 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4408/1.467, allocations: 71.57 MB / 1.098 GB, free: 293.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.54/19, allocations: 9.844 kB / 1.098 GB, free: 293.9 MB / 0.8262 GB " [Timeout remaining time 641] (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.953471663990058] Failed to read output from testmodel.py, exit status != 0: 19.32657145697158 19.346915967 18.6490966 Calling exit ...