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.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/package.mo", uses=false) 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.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,fileNamePrefix="IDEAS_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.006061/0.006067, allocations: 104.8 kB / 15.74 MB, free: 5.988 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.001369/0.001369, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7491/0.7491, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.56 kB / 0.5809 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1388, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01083/0.1497, allocations: 8.653 MB / 0.6677 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4914/0.6411, allocations: 156.3 MB / 0.8203 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.6432, allocations: 54.69 kB / 0.8203 GB, free: 8.098 MB / 0.5919 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.001407/0.6447, allocations: 345.8 kB / 0.8206 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.6487, allocations: 1.089 MB / 0.8217 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004043/0.6527, allocations: 1.413 MB / 0.8231 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006454/0.6592, allocations: 5.346 MB / 0.8283 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.6636, allocations: 2.815 MB / 0.8311 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003817/0.6674, allocations: 2.122 MB / 0.8331 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/0.6706, allocations: 2.033 MB / 0.8351 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.672, allocations: 0.4933 MB / 0.8356 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002775/0.6748, allocations: 1.093 MB / 0.8367 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001596/0.6764, allocations: 1.093 MB / 0.8377 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003007/0.6794, allocations: 2.123 MB / 0.8398 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00667/0.6861, allocations: 6.087 MB / 0.8458 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.6862, allocations: 4 kB / 0.8458 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6862, allocations: 3.938 kB / 0.8458 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001404/0.6863, allocations: 0 / 0.8458 GB, free: 6.926 MB / 0.6075 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.0105/0.6968, allocations: 4.429 MB / 0.8501 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.6969, allocations: 8.031 kB / 0.8501 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006962/0.6976, allocations: 459.4 kB / 0.8505 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009521/0.7071, allocations: 1.345 MB / 0.8518 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/0.7117, allocations: 2.466 MB / 0.8543 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.712, allocations: 254.5 kB / 0.8545 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009229/0.7129, allocations: 312 kB / 0.8548 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009852/0.7228, allocations: 4.762 MB / 0.8594 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/0.7228, allocations: 3.938 kB / 0.8595 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004181/0.7233, allocations: 140 kB / 0.8596 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.7233, allocations: 80 kB / 0.8597 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/0.7349, allocations: 5.153 MB / 0.8647 GB, free: 3.609 MB / 0.6231 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.03092/0.7658, allocations: 16.57 MB / 0.8809 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/0.7771, allocations: 4.285 MB / 0.8851 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004304/0.7815, allocations: 1.814 MB / 0.8868 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/0.7831, allocations: 1.632 MB / 0.8884 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005099/0.7882, allocations: 2.157 MB / 0.8905 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=239): time 4.909e-06/0.7882, allocations: 4 kB / 0.8905 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239): time 0.01463/0.8029, allocations: 5.53 MB / 0.8959 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.803, allocations: 283 kB / 0.8962 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004149/0.8072, allocations: 2.378 MB / 0.8985 GB, free: 15.63 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005429/0.8078, allocations: 69.7 kB / 0.8986 GB, free: 15.55 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.8091, allocations: 1.409 MB / 0.9 GB, free: 14.13 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.8102, allocations: 0.797 MB / 0.9007 GB, free: 13.32 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.8115, allocations: 0.5587 MB / 0.9013 GB, free: 12.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.8116, allocations: 301.1 kB / 0.9016 GB, free: 12.46 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004095/0.8157, allocations: 1.664 MB / 0.9032 GB, free: 10.79 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004631/0.8204, allocations: 2.046 MB / 0.9052 GB, free: 8.613 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008585/0.829, allocations: 3.65 MB / 0.9088 GB, free: 4.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.829, allocations: 3.938 kB / 0.9088 GB, free: 4.836 MB / 0.67 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01133/0.8404, allocations: 4.241 MB / 0.9129 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.8404, allocations: 8 kB / 0.9129 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.8405, allocations: 4 kB / 0.9129 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/0.8411, allocations: 105.3 kB / 0.913 GB, free: 432 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004237/0.8454, allocations: 0.7643 MB / 0.9138 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/0.8477, allocations: 1.707 MB / 0.9154 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004216/0.8519, allocations: 485 kB / 0.9159 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006705/0.8526, allocations: 135.8 kB / 0.916 GB, free: 13.2 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.002366/0.855, allocations: 0.979 MB / 0.917 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/0.8561, allocations: 272.6 kB / 0.9172 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/0.868, allocations: 4.459 MB / 0.9216 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.8681, allocations: 31.98 kB / 0.9216 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8681, allocations: 0 / 0.9216 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.821e-05/0.8681, allocations: 11.95 kB / 0.9216 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01841/0.8866, allocations: 8.573 MB / 0.93 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.8866, allocations: 3.938 kB / 0.93 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003353/0.89, allocations: 0.6242 MB / 0.9306 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005068/0.8905, allocations: 88.78 kB / 0.9307 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003406/0.8909, allocations: 67.94 kB / 0.9308 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.8928, allocations: 1.717 MB / 0.9325 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.8928, allocations: 7.938 kB / 0.9325 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009386/0.9022, allocations: 3.745 MB / 0.9361 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/0.9041, allocations: 0.817 MB / 0.9369 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007742/0.9049, allocations: 67.69 kB / 0.937 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003246/0.9082, allocations: 297.2 kB / 0.9373 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/0.9086, allocations: 161.9 kB / 0.9374 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003172/0.909, allocations: 96 kB / 0.9375 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003096/0.9121, allocations: 1.773 MB / 0.9392 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6.41e-07/0.9121, allocations: 0 / 0.9392 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003262/0.9154, allocations: 0.958 MB / 0.9402 GB, free: 3.902 MB / 0.7012 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.01117/0.9266, allocations: 4.893 MB / 0.945 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009242/0.9358, allocations: 3.798 MB / 0.9487 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.9359, allocations: 0 / 0.9487 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004692/0.9406, allocations: 1.909 MB / 0.9505 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/0.9444, allocations: 0.4993 MB / 0.951 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05749/1.002, allocations: 26.8 MB / 0.9772 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002333/1.004, allocations: 2.412 MB / 0.9795 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003762/1.008, allocations: 0.9762 MB / 0.9805 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002845/1.011, allocations: 1.448 MB / 0.9819 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of SimCode: time 8.92e-07/1.011, allocations: 0 / 0.9819 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/1.127, allocations: 69.95 MB / 1.05 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.56, allocations: 8.375 kB / 1.05 GB, free: 3.156 MB / 0.8106 GB (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 --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)