Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",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.001891/0.001891, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.002345/0.002344, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.35/2.35, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.179/1.179, allocations: 132.2 MB / 423.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005364/0.0005365, allocations: 11.98 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7221, allocations: 81.58 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.163/1.885, allocations: 305.4 MB / 0.8812 GB, free: 18.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05417/1.94, allocations: 39.5 MB / 0.9198 GB, free: 17.72 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008617/1.948, allocations: 138.7 kB / 0.9199 GB, free: 17.72 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009223/1.958, allocations: 2.282 MB / 0.9222 GB, free: 17.1 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02395/1.982, allocations: 6.953 MB / 0.929 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01206/1.994, allocations: 3.507 MB / 0.9324 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01357/2.007, allocations: 6.709 MB / 0.9389 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007669/2.015, allocations: 4.013 MB / 0.9429 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01388/2.029, allocations: 4.268 MB / 0.947 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006685/2.036, allocations: 2.25 MB / 0.9492 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00136/2.037, allocations: 168 kB / 0.9494 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01172/2.049, allocations: 2.91 MB / 0.9522 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003197/2.052, allocations: 1.211 MB / 0.9534 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003468/2.055, allocations: 1.006 MB / 0.9544 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/2.066, allocations: 6.311 MB / 0.9606 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/2.066, allocations: 0 / 0.9606 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd: time 5.701e-06/2.066, allocations: 0 / 0.9606 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002466/2.067, allocations: 0 / 0.9606 GB, free: 2.242 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01286/2.079, allocations: 4.679 MB / 0.9651 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/2.08, allocations: 8.031 kB / 0.9651 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001632/2.081, allocations: 472.6 kB / 0.9656 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/2.093, allocations: 1.914 MB / 0.9674 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/2.104, allocations: 3.467 MB / 0.9708 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002067/2.106, allocations: 0.6975 MB / 0.9715 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/2.107, allocations: 347.1 kB / 0.9718 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01314/2.121, allocations: 4.548 MB / 0.9763 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.164e-05/2.121, allocations: 6.906 kB / 0.9763 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004832/2.121, allocations: 137.6 kB / 0.9764 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001543/2.121, allocations: 133.2 kB / 0.9766 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/2.133, allocations: 4.166 MB / 0.9806 GB, free: 2.176 MB / 0.6544 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.03661/2.17, allocations: 18.86 MB / 0.999 GB, free: 1.777 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005729/2.176, allocations: 2.043 MB / 1.001 GB, free: 248 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005183/2.176, allocations: 174.5 kB / 1.001 GB, free: 68 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003092/2.179, allocations: 1.261 MB / 1.002 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002041/2.181, allocations: 186.2 kB / 1.003 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=135): time 4.739e-06/2.181, allocations: 4 kB / 1.003 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135): time 0.009351/2.191, allocations: 3.286 MB / 1.006 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002316/2.191, allocations: 221.6 kB / 1.006 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006207/2.197, allocations: 3.641 MB / 1.01 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004485/2.198, allocations: 57.7 kB / 1.01 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002267/2.2, allocations: 2.014 MB / 1.012 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007449/2.201, allocations: 474.9 kB / 1.012 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/2.201, allocations: 36 kB / 1.012 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002203/2.201, allocations: 388 kB / 1.012 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/2.204, allocations: 1.136 MB / 1.014 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/2.208, allocations: 1.812 MB / 1.015 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/2.212, allocations: 1.302 MB / 1.017 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/2.212, allocations: 8 kB / 1.017 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009603/2.222, allocations: 3.249 MB / 1.02 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.003378/2.225, allocations: 7.35 MB / 1.027 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.495e-05/2.225, allocations: 16 kB / 1.027 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-05/2.225, allocations: 28 kB / 1.027 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/2.228, allocations: 0.5859 MB / 1.028 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.352e-05/2.229, allocations: 35.86 kB / 1.028 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005923/2.234, allocations: 0.6254 MB / 1.028 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000382/2.235, allocations: 91.97 kB / 1.028 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/2.235, allocations: 4 kB / 1.028 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007869/2.243, allocations: 2.897 MB / 1.031 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.722e-05/2.243, allocations: 20 kB / 1.031 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/2.243, allocations: 28 kB / 1.031 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/2.246, allocations: 0.5771 MB / 1.032 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.675e-05/2.246, allocations: 33.98 kB / 1.032 GB, free: 1.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00514/2.251, allocations: 0.5395 MB / 1.032 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/2.251, allocations: 98.55 kB / 1.032 GB, free: 1.086 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 1 * 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.002795/2.254, allocations: 1.129 MB / 1.034 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/2.255, allocations: 371.3 kB / 1.034 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006773/2.262, allocations: 2.491 MB / 1.036 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/2.262, allocations: 19.95 kB / 1.036 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/2.262, allocations: 0 / 1.036 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004617/2.267, allocations: 1.932 MB / 1.038 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.019/2.286, allocations: 7.844 MB / 1.046 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/2.286, allocations: 10.62 kB / 1.046 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/2.288, allocations: 378.1 kB / 1.046 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/2.288, allocations: 60.83 kB / 1.046 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/2.288, allocations: 51.92 kB / 1.046 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/2.29, allocations: 1.454 MB / 1.048 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-05/2.29, allocations: 21.62 kB / 1.048 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/2.301, allocations: 5.333 MB / 1.053 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002602/2.303, allocations: 0.6798 MB / 1.054 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007843/2.304, allocations: 43.98 kB / 1.054 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004099/2.308, allocations: 447.3 kB / 1.054 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/2.309, allocations: 136.4 kB / 1.054 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/2.309, allocations: 71.95 kB / 1.054 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005421/2.314, allocations: 2.517 MB / 1.057 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.81e-07/2.314, allocations: 0 / 1.057 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007214/2.322, allocations: 2.02 MB / 1.059 GB, free: 5.07 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01386/2.335, allocations: 8.862 MB / 1.067 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01093/2.346, allocations: 4.021 MB / 1.071 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.975e-05/2.347, allocations: 8.219 kB / 1.071 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003396/2.35, allocations: 1.228 MB / 1.073 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01113/2.361, allocations: 1.902 MB / 1.074 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/2.395, allocations: 22.52 MB / 1.096 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002862/2.397, allocations: 2.751 MB / 1.099 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005185/2.403, allocations: 0.9817 MB / 1.1 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002798/2.405, allocations: 1.753 MB / 1.102 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of SimCode: time 1.513e-06/2.405, allocations: 4 kB / 1.102 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6317/3.037, allocations: 101.3 MB / 1.201 GB, free: 273.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/3.038, allocations: 252.8 kB / 1.201 GB, free: 273.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/10.35, allocations: 0 / 1.201 GB, free: 273.6 MB / 0.7794 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) Environment - environmentSimulation: