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.01037/0.01037, allocations: 102.4 kB / 15.73 MB, free: 6.043 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.001413/0.001413, allocations: 199.3 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8297/0.8297, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 58.16 kB / 0.5851 GB, free: 21.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1813, allocations: 80.92 MB / 0.6642 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01387/0.1952, allocations: 8.667 MB / 0.6726 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6516/0.8469, allocations: 156.3 MB / 0.8252 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.8489, allocations: 55.56 kB / 0.8253 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009923/0.8499, allocations: 345 kB / 0.8256 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.8535, allocations: 1.095 MB / 0.8267 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003396/0.8569, allocations: 1.405 MB / 0.8281 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006115/0.863, allocations: 5.35 MB / 0.8333 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004461/0.8675, allocations: 3.01 MB / 0.8362 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.8714, allocations: 2.113 MB / 0.8383 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003292/0.8747, allocations: 2.022 MB / 0.8403 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.876, allocations: 0.4911 MB / 0.8407 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.8791, allocations: 1.101 MB / 0.8418 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.8808, allocations: 1.089 MB / 0.8429 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004182/0.885, allocations: 2.11 MB / 0.8449 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008878/0.8939, allocations: 6.064 MB / 0.8509 GB, free: 280 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.8939, allocations: 0 / 0.8509 GB, free: 280 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.894, allocations: 4 kB / 0.8509 GB, free: 276 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002443/0.8942, allocations: 0 / 0.8509 GB, free: 276 kB / 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.01196/0.9062, allocations: 4.394 MB / 0.8552 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.9062, allocations: 13.11 kB / 0.8552 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001244/0.9075, allocations: 459.4 kB / 0.8556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.9176, allocations: 1.337 MB / 0.8569 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00571/0.9233, allocations: 2.418 MB / 0.8593 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.9236, allocations: 258.5 kB / 0.8595 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/0.9249, allocations: 320 kB / 0.8598 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.9378, allocations: 4.758 MB / 0.8645 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.484e-05/0.9379, allocations: 7.875 kB / 0.8645 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008/0.9387, allocations: 132 kB / 0.8646 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/0.9388, allocations: 80 kB / 0.8647 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/0.9529, allocations: 5.122 MB / 0.8697 GB, free: 12.7 MB / 0.6387 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.03487/0.9878, allocations: 16.56 MB / 0.8859 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/0.9991, allocations: 4.283 MB / 0.89 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004296/1.003, allocations: 1.814 MB / 0.8918 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001867/1.005, allocations: 1.635 MB / 0.8934 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005407/1.011, allocations: 2.149 MB / 0.8955 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=239): time 8.706e-06/1.011, allocations: 4 kB / 0.8955 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239): time 0.0157/1.027, allocations: 5.526 MB / 0.9009 GB, free: 11.47 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/1.027, allocations: 287 kB / 0.9012 GB, free: 11.13 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004778/1.032, allocations: 2.34 MB / 0.9035 GB, free: 8.766 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006439/1.032, allocations: 65.7 kB / 0.9035 GB, free: 8.695 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/1.034, allocations: 1.389 MB / 0.9049 GB, free: 7.289 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.035, allocations: 0.8047 MB / 0.9057 GB, free: 6.473 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001998/1.037, allocations: 0.5549 MB / 0.9062 GB, free: 5.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.037, allocations: 305.1 kB / 0.9065 GB, free: 5.609 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004324/1.041, allocations: 1.652 MB / 0.9081 GB, free: 3.953 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004735/1.046, allocations: 2.05 MB / 0.9101 GB, free: 1.773 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008985/1.055, allocations: 3.661 MB / 0.9137 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/1.055, allocations: 0 / 0.9137 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.0126/1.068, allocations: 4.226 MB / 0.9178 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/1.068, allocations: 8 kB / 0.9178 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.068, allocations: 8 kB / 0.9178 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006838/1.069, allocations: 105.2 kB / 0.9179 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004392/1.073, allocations: 0.7643 MB / 0.9187 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/1.075, allocations: 1.708 MB / 0.9204 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004383/1.08, allocations: 485.1 kB / 0.9208 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007387/1.081, allocations: 135.9 kB / 0.9209 GB, free: 6.355 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.002759/1.083, allocations: 0.9667 MB / 0.9219 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.085, allocations: 272.6 kB / 0.9221 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/1.097, allocations: 4.451 MB / 0.9265 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/1.097, allocations: 28 kB / 0.9265 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.097, allocations: 0 / 0.9265 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.131e-05/1.097, allocations: 11.95 kB / 0.9265 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02118/1.118, allocations: 8.552 MB / 0.9349 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/1.118, allocations: 11.94 kB / 0.9349 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003556/1.122, allocations: 0.6281 MB / 0.9355 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005243/1.122, allocations: 88.72 kB / 0.9356 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004343/1.123, allocations: 67.94 kB / 0.9357 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/1.125, allocations: 1.713 MB / 0.9373 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.125, allocations: 96 / 0.9373 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009909/1.135, allocations: 3.737 MB / 0.941 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/1.137, allocations: 0.8209 MB / 0.9418 GB, free: 476 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008823/1.138, allocations: 67.69 kB / 0.9418 GB, free: 408 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00328/1.141, allocations: 295.6 kB / 0.9421 GB, free: 112 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/1.142, allocations: 165.9 kB / 0.9423 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003183/1.142, allocations: 87.94 kB / 0.9424 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003397/1.145, allocations: 1.745 MB / 0.9441 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.843e-06/1.145, allocations: 0 / 0.9441 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004075/1.149, allocations: 0.9579 MB / 0.945 GB, free: 13.14 MB / 0.7169 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.01151/1.161, allocations: 4.887 MB / 0.9498 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009798/1.171, allocations: 3.802 MB / 0.9535 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.171, allocations: 4 kB / 0.9535 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004621/1.175, allocations: 1.905 MB / 0.9554 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/1.179, allocations: 0.496 MB / 0.9558 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06503/1.244, allocations: 26.58 MB / 0.9818 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/1.247, allocations: 2.399 MB / 0.9841 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004463/1.252, allocations: 0.9718 MB / 0.9851 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003348/1.255, allocations: 1.428 MB / 0.9865 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of SimCode: time 1.092e-06/1.255, allocations: 0 / 0.9865 GB, free: 2.184 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1252/1.38, allocations: 69.47 MB / 1.054 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.92/19.3, allocations: 6.125 kB / 1.054 GB, free: 13.11 MB / 0.8262 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)