Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",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.0008268/0.0008269, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008942/0.0008944, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.5/2.5, allocations: 409.4 MB / 0.684 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 16 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8718/0.8722, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection): time 0.002967/0.8752, allocations: 2.411 MB / 0.9835 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004217/0.8795, allocations: 2.699 MB / 0.9861 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.8797, allocations: 7.938 kB / 0.9861 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.8799, allocations: 55.66 kB / 0.9862 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000565/0.8805, allocations: 201 kB / 0.9864 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.882, allocations: 489.2 kB / 0.9869 GB, free: 408 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000663/0.8826, allocations: 497.8 kB / 0.9873 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.8829, allocations: 97.84 kB / 0.9874 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.8831, allocations: 167.4 kB / 0.9876 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.8833, allocations: 187.2 kB / 0.9878 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.8834, allocations: 20 kB / 0.9878 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008533/0.8843, allocations: 363.6 kB / 0.9881 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.8843, allocations: 67.75 kB / 0.9882 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.8845, allocations: 97.45 kB / 0.9883 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006761/0.8851, allocations: 0.5261 MB / 0.9888 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.8852, allocations: 0 / 0.9888 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.306e-06/0.8852, allocations: 0 / 0.9888 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.8852, allocations: 0 / 0.9888 GB, free: 14.39 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001094/0.8863, allocations: 0.6777 MB / 0.9895 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.8864, allocations: 12.03 kB / 0.9895 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.91e-05/0.8865, allocations: 58.55 kB / 0.9895 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07647/0.9629, allocations: 10.59 MB / 0.9999 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.9648, allocations: 0.9235 MB / 1.001 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.9649, allocations: 20.5 kB / 1.001 GB, free: 2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004266/0.9653, allocations: 32 kB / 1.001 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.9783, allocations: 3.562 MB / 1.004 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.9784, allocations: 0 / 1.004 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002373/0.9786, allocations: 15.94 kB / 1.004 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.9787, allocations: 4 kB / 1.004 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.9903, allocations: 2.797 MB / 1.007 GB, free: 11.58 MB / 0.7637 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.01406/1.004, allocations: 17.15 MB / 1.024 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01142/1.016, allocations: 2.778 MB / 1.027 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0115/1.027, allocations: 2.62 MB / 1.029 GB, free: 1.449 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/1.028, allocations: 35.98 kB / 1.029 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.028, allocations: 34.55 kB / 1.029 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 2.965e-06/1.028, allocations: 0 / 1.029 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.03617/1.064, allocations: 8.029 MB / 1.037 GB, free: 9.328 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/1.064, allocations: 59.34 kB / 1.037 GB, free: 9.258 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/1.064, allocations: 337.6 kB / 1.037 GB, free: 8.922 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0005919/1.065, allocations: 33.7 kB / 1.037 GB, free: 8.883 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/1.065, allocations: 200.3 kB / 1.038 GB, free: 8.68 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/1.066, allocations: 67.02 kB / 1.038 GB, free: 8.613 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004755/1.066, allocations: 4 kB / 1.038 GB, free: 8.609 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.066, allocations: 346.8 kB / 1.038 GB, free: 8.262 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01691/1.083, allocations: 3.638 MB / 1.042 GB, free: 4.621 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0168/1.1, allocations: 3.673 MB / 1.045 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/1.116, allocations: 3.357 MB / 1.048 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.116, allocations: 8 kB / 1.048 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.03552/1.152, allocations: 7.519 MB / 1.056 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.777e-05/1.152, allocations: 101.2 kB / 1.056 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03153/1.184, allocations: 6.838 MB / 1.063 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/1.184, allocations: 0 / 1.063 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01256/1.196, allocations: 1.689 MB / 1.064 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-05/1.196, allocations: 8 kB / 1.064 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/1.208, allocations: 1.295 MB / 1.065 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.209, allocations: 203.5 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.209, allocations: 5.562 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03649/1.245, allocations: 7.462 MB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03144/1.277, allocations: 6.842 MB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.277, allocations: 7.953 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01232/1.289, allocations: 1.689 MB / 1.081 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/1.289, allocations: 0 / 1.081 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/1.3, allocations: 1.288 MB / 1.083 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/1.301, allocations: 203.5 kB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001358/1.303, allocations: 217.1 kB / 1.083 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005497/1.303, allocations: 31.62 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02849/1.332, allocations: 6.355 MB / 1.089 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.332, allocations: 7.984 kB / 1.089 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.332, allocations: 0 / 1.089 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.332, allocations: 0 / 1.089 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/1.338, allocations: 6.491 MB / 1.096 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02458/1.363, allocations: 5.29 MB / 1.101 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01033/1.373, allocations: 1.447 MB / 1.102 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/1.373, allocations: 4 kB / 1.102 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005881/1.374, allocations: 175.5 kB / 1.102 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.974e-06/1.374, allocations: 3.938 kB / 1.102 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.374, allocations: 3.984 kB / 1.102 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/1.398, allocations: 5.432 MB / 1.108 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.4, allocations: 0.5583 MB / 1.108 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006394/1.4, allocations: 8 kB / 1.108 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00926/1.41, allocations: 1.085 MB / 1.109 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/1.41, allocations: 35.91 kB / 1.109 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006733/1.411, allocations: 179.5 kB / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002832/1.411, allocations: 235.2 kB / 1.11 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.634e-06/1.411, allocations: 0 / 1.11 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002919/1.414, allocations: 0.5972 MB / 1.11 GB, free: 12.67 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02575/1.44, allocations: 6.039 MB / 1.116 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.04339/1.483, allocations: 9.655 MB / 1.126 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.483, allocations: 0 / 1.126 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01256/1.496, allocations: 2.739 MB / 1.128 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/1.497, allocations: 90.33 kB / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06345/1.561, allocations: 15.63 MB / 1.144 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/1.561, allocations: 0.7884 MB / 1.144 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.01269/1.574, allocations: 1.638 MB / 1.146 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003309/1.577, allocations: 0.5919 MB / 1.146 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of SimCode: time 1.252e-06/1.577, allocations: 0 / 1.146 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/1.707, allocations: 82.74 MB / 1.227 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003273/1.708, allocations: 207.2 kB / 1.227 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.196/10.9, allocations: 0 / 1.227 GB, free: 4.332 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat does not exist to compare? outputFormat=mat