Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005438/0.005438, allocations: 97.41 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 199.4 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8972/0.8972, allocations: 135.6 MB / 426.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 67.89 kB / 0.5858 GB, free: 3.203 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3856, allocations: 81.03 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.00791/0.3936, allocations: 8.67 MB / 0.6734 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1729/0.5665, allocations: 156.3 MB / 0.826 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.568, allocations: 59.69 kB / 0.826 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008514/0.5689, allocations: 340.5 kB / 0.8264 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.5716, allocations: 1.092 MB / 0.8274 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.5744, allocations: 1.419 MB / 0.8288 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005195/0.5796, allocations: 5.338 MB / 0.834 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003423/0.583, allocations: 2.997 MB / 0.8369 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.5859, allocations: 2.049 MB / 0.8389 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00211/0.588, allocations: 2.026 MB / 0.8409 GB, free: 11.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006499/0.5887, allocations: 0.4922 MB / 0.8414 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.5905, allocations: 1.101 MB / 0.8425 GB, free: 10.34 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009443/0.5914, allocations: 1.083 MB / 0.8435 GB, free: 9.25 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.5935, allocations: 2.119 MB / 0.8456 GB, free: 7.121 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00599/0.5995, allocations: 6.077 MB / 0.8515 GB, free: 1.027 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5995, allocations: 0 / 0.8515 GB, free: 1.027 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5995, allocations: 0 / 0.8515 GB, free: 1.027 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.346e-05/0.5995, allocations: 0 / 0.8515 GB, free: 1.027 MB / 0.67 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.007831/0.6074, allocations: 4.518 MB / 0.856 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6074, allocations: 8.031 kB / 0.856 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005521/0.608, allocations: 459.4 kB / 0.8564 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008798/0.6168, allocations: 1.359 MB / 0.8577 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/0.6205, allocations: 2.44 MB / 0.8601 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.6207, allocations: 250.6 kB / 0.8603 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004726/0.6212, allocations: 316 kB / 0.8606 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008833/0.63, allocations: 4.758 MB / 0.8653 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/0.6301, allocations: 7.938 kB / 0.8653 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003309/0.6304, allocations: 132 kB / 0.8654 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.827e-05/0.6305, allocations: 80 kB / 0.8655 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2789/0.9094, allocations: 5.128 MB / 0.8705 GB, free: 186.9 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.02244/0.9319, allocations: 16.58 MB / 0.8867 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/0.9413, allocations: 4.288 MB / 0.8909 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00344/0.9448, allocations: 1.821 MB / 0.8927 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/0.9458, allocations: 1.631 MB / 0.8943 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00394/0.9498, allocations: 2.148 MB / 0.8964 GB, free: 169.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=239): time 3.577e-06/0.9498, allocations: 4 kB / 0.8964 GB, free: 169.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=239): time 0.01243/0.9622, allocations: 5.542 MB / 0.9018 GB, free: 166.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.9623, allocations: 282.4 kB / 0.902 GB, free: 165.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/0.9652, allocations: 2.337 MB / 0.9043 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002381/0.9655, allocations: 71.52 kB / 0.9044 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009046/0.9664, allocations: 1.416 MB / 0.9058 GB, free: 163.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000574/0.967, allocations: 0.8396 MB / 0.9066 GB, free: 162.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008573/0.9679, allocations: 0.562 MB / 0.9071 GB, free: 162.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.9679, allocations: 302.5 kB / 0.9074 GB, free: 162.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003512/0.9714, allocations: 1.659 MB / 0.9091 GB, free: 161.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003562/0.975, allocations: 2.044 MB / 0.9111 GB, free: 160 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006849/0.9818, allocations: 3.659 MB / 0.9146 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.9819, allocations: 0 / 0.9146 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.008759/0.9906, allocations: 4.249 MB / 0.9188 GB, free: 153.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.9907, allocations: 8 kB / 0.9188 GB, free: 153.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.9907, allocations: 8 kB / 0.9188 GB, free: 153.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005536/0.9912, allocations: 97.28 kB / 0.9189 GB, free: 153.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003353/0.9946, allocations: 0.7761 MB / 0.9196 GB, free: 153 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.9962, allocations: 1.703 MB / 0.9213 GB, free: 151.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/0.9996, allocations: 486.9 kB / 0.9218 GB, free: 150.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/0.9998, allocations: 139.7 kB / 0.9219 GB, free: 150.6 MB / 0.6856 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.001429/1.001, allocations: 0.9659 MB / 0.9228 GB, free: 149.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/1.002, allocations: 274.2 kB / 0.9231 GB, free: 149.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008671/1.01, allocations: 4.473 MB / 0.9275 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/1.01, allocations: 24 kB / 0.9275 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.01, allocations: 0 / 0.9275 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/1.01, allocations: 15.95 kB / 0.9275 GB, free: 144.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/1.023, allocations: 8.559 MB / 0.9359 GB, free: 136.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.023, allocations: 0 / 0.9359 GB, free: 136.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002833/1.026, allocations: 0.6358 MB / 0.9365 GB, free: 135.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004243/1.026, allocations: 76.8 kB / 0.9366 GB, free: 135.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001827/1.026, allocations: 71.94 kB / 0.9366 GB, free: 135.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/1.028, allocations: 1.721 MB / 0.9383 GB, free: 133.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.028, allocations: 0 / 0.9383 GB, free: 133.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007255/1.035, allocations: 3.755 MB / 0.942 GB, free: 129.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.036, allocations: 0.8225 MB / 0.9428 GB, free: 128.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000416/1.037, allocations: 71.72 kB / 0.9429 GB, free: 128.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002512/1.039, allocations: 304.3 kB / 0.9431 GB, free: 128.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/1.039, allocations: 165.9 kB / 0.9433 GB, free: 128.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/1.04, allocations: 87.94 kB / 0.9434 GB, free: 128.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001929/1.042, allocations: 1.749 MB / 0.9451 GB, free: 126.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/1.042, allocations: 0 / 0.9451 GB, free: 126.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002059/1.044, allocations: 0.9584 MB / 0.946 GB, free: 125.4 MB / 0.6856 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.009164/1.053, allocations: 4.914 MB / 0.9508 GB, free: 120.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008043/1.061, allocations: 3.809 MB / 0.9545 GB, free: 116.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.061, allocations: 0 / 0.9545 GB, free: 116.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003512/1.065, allocations: 1.916 MB / 0.9564 GB, free: 114.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/1.067, allocations: 0.5054 MB / 0.9569 GB, free: 114.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03986/1.107, allocations: 26.68 MB / 0.983 GB, free: 87.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/1.108, allocations: 2.396 MB / 0.9853 GB, free: 84.77 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00283/1.111, allocations: 0.9718 MB / 0.9863 GB, free: 83.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/1.113, allocations: 1.432 MB / 0.9877 GB, free: 82.36 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/1.113, allocations: 0 / 0.9877 GB, free: 82.36 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5174/1.63, allocations: 68.27 MB / 1.054 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.33/18.96, allocations: 19.41 kB / 1.054 GB, free: 14.54 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)