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.0009761/0.000976, allocations: 86.64 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.001215/0.001215, 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.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7311/0.7311, allocations: 132.3 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004964, allocations: 8 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4281, allocations: 81.58 MB / 0.5832 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7677/1.196, allocations: 347 MB / 0.922 GB, free: 20.9 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04419/1.24, allocations: 41.41 MB / 0.9625 GB, free: 16.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005689/1.246, allocations: 144.6 kB / 0.9626 GB, free: 16.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005518/1.251, allocations: 1.787 MB / 0.9644 GB, free: 16.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01722/1.269, allocations: 5.28 MB / 0.9695 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009743/1.278, allocations: 2.796 MB / 0.9722 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01526/1.294, allocations: 13.07 MB / 0.985 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007562/1.301, allocations: 3.956 MB / 0.9889 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01265/1.314, allocations: 4.856 MB / 0.9936 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007311/1.321, allocations: 3.278 MB / 0.9968 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001341/1.323, allocations: 172 kB / 0.997 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/1.334, allocations: 3.354 MB / 1 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005422/1.34, allocations: 1.333 MB / 1.002 GB, free: 15.19 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005346/1.345, allocations: 1.003 MB / 1.003 GB, free: 14.18 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01404/1.359, allocations: 6.618 MB / 1.009 GB, free: 7.863 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.359, allocations: 0 / 1.009 GB, free: 7.863 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.374e-06/1.36, allocations: 4 kB / 1.009 GB, free: 7.859 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003186/1.36, allocations: 0 / 1.009 GB, free: 7.859 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: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01227/1.372, allocations: 4.767 MB / 1.014 GB, free: 3.082 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.372, allocations: 8.031 kB / 1.014 GB, free: 3.074 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001328/1.374, allocations: 478 kB / 1.014 GB, free: 2.598 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/1.384, allocations: 1.907 MB / 1.016 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007791/1.392, allocations: 3.412 MB / 1.019 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00164/1.393, allocations: 0.6924 MB / 1.02 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/1.395, allocations: 351.5 kB / 1.02 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/1.407, allocations: 4.602 MB / 1.025 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.756e-05/1.407, allocations: 0 / 1.025 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005626/1.408, allocations: 143.7 kB / 1.025 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001652/1.408, allocations: 138.4 kB / 1.025 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/1.419, allocations: 4.189 MB / 1.029 GB, free: 3.082 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.03263/1.451, allocations: 18.78 MB / 1.048 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004228/1.456, allocations: 2.064 MB / 1.05 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002304/1.458, allocations: 1.089 MB / 1.051 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007796/1.459, allocations: 442.1 kB / 1.051 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002744/1.461, allocations: 1.276 MB / 1.052 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002215/1.464, allocations: 180.5 kB / 1.052 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=135): time 5.07e-06/1.464, allocations: 8 kB / 1.052 GB, free: 9.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135): time 0.008663/1.472, allocations: 3.31 MB / 1.056 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.472, allocations: 145.8 kB / 1.056 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006201/1.479, allocations: 3.659 MB / 1.059 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003356/1.479, allocations: 61.7 kB / 1.059 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001921/1.481, allocations: 2.014 MB / 1.061 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005138/1.482, allocations: 476.1 kB / 1.062 GB, free: 216 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.482, allocations: 36 kB / 1.062 GB, free: 180 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.482, allocations: 377.9 kB / 1.062 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002732/1.485, allocations: 1.152 MB / 1.063 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003212/1.488, allocations: 1.826 MB / 1.065 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/1.491, allocations: 1.312 MB / 1.066 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/1.491, allocations: 8 kB / 1.066 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00738/1.498, allocations: 3.267 MB / 1.07 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004551/1.499, allocations: 0.592 MB / 1.07 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.499, allocations: 20 kB / 1.07 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.598e-05/1.499, allocations: 28 kB / 1.07 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/1.501, allocations: 0.5773 MB / 1.071 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.085e-05/1.501, allocations: 35.86 kB / 1.071 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00476/1.506, allocations: 0.6215 MB / 1.071 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002951/1.506, allocations: 91.95 kB / 1.072 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/1.506, allocations: 10.78 kB / 1.072 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006617/1.513, allocations: 2.913 MB / 1.074 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.519e-05/1.513, allocations: 16 kB / 1.074 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/1.513, allocations: 31.95 kB / 1.074 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/1.516, allocations: 0.5736 MB / 1.075 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.811e-05/1.516, allocations: 39.86 kB / 1.075 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/1.52, allocations: 0.5356 MB / 1.076 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/1.52, allocations: 87.97 kB / 1.076 GB, free: 1.523 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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.002437/1.523, allocations: 1.125 MB / 1.077 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008764/1.524, allocations: 367.3 kB / 1.077 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005733/1.529, allocations: 2.616 MB / 1.08 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.529, allocations: 12 kB / 1.08 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.529, allocations: 4 kB / 1.08 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004408/1.534, allocations: 2.218 MB / 1.082 GB, free: 11.05 MB / 0.7481 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 postOpt removeSimpleEquations (simulation): time 0.0151/1.549, allocations: 7.116 MB / 1.089 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.549, allocations: 8 kB / 1.089 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/1.551, allocations: 367.5 kB / 1.089 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/1.551, allocations: 56.83 kB / 1.089 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.551, allocations: 47.97 kB / 1.089 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/1.552, allocations: 1.44 MB / 1.091 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/1.552, allocations: 15.94 kB / 1.091 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007908/1.56, allocations: 3.877 MB / 1.094 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002045/1.562, allocations: 0.6874 MB / 1.095 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006927/1.563, allocations: 35.98 kB / 1.095 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003308/1.566, allocations: 443.3 kB / 1.096 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/1.567, allocations: 123 kB / 1.096 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.567, allocations: 67.95 kB / 1.096 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004868/1.572, allocations: 2.533 MB / 1.098 GB, free: 9.75 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.8e-07/1.572, allocations: 0 / 1.098 GB, free: 9.75 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006775/1.579, allocations: 2.017 MB / 1.1 GB, free: 7.727 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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.009764/1.588, allocations: 4.828 MB / 1.105 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.3259/1.914, allocations: 4.05 MB / 1.109 GB, free: 329.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.914, allocations: 4.875 kB / 1.109 GB, free: 329.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002986/1.917, allocations: 1.218 MB / 1.11 GB, free: 329.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009712/1.927, allocations: 1.906 MB / 1.112 GB, free: 329.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06571/1.993, allocations: 28.65 MB / 1.14 GB, free: 312.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/1.995, allocations: 2.662 MB / 1.143 GB, free: 311.5 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005195/2, allocations: 0.9892 MB / 1.143 GB, free: 311.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/2.002, allocations: 1.749 MB / 1.145 GB, free: 309.7 MB / 0.7637 GB Notification: Performance of SimCode: time 1.353e-06/2.002, allocations: 0 / 1.145 GB, free: 309.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/2.142, allocations: 104.1 MB / 1.247 GB, free: 212.2 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/2.143, allocations: 250.9 kB / 1.247 GB, free: 211.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.696/6.839, allocations: 3.719 kB / 1.247 GB, free: 211.8 MB / 0.7637 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: