Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008522/0.0008521, allocations: 99.31 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.001055/0.001055, 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 1.244/1.244, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8797/0.8797, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003098, allocations: 10.91 kB / 0.5068 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1473, allocations: 82.31 MB / 0.5872 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9851/1.132, allocations: 305.4 MB / 0.8854 GB, free: 20.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04275/1.175, allocations: 39.5 MB / 0.924 GB, free: 19.9 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005367/1.181, allocations: 136.8 kB / 0.9242 GB, free: 19.9 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006721/1.187, allocations: 2.283 MB / 0.9264 GB, free: 19.89 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02086/1.208, allocations: 6.946 MB / 0.9332 GB, free: 19.81 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/1.219, allocations: 3.505 MB / 0.9366 GB, free: 19.75 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01346/1.232, allocations: 6.71 MB / 0.9431 GB, free: 19.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006805/1.239, allocations: 4.012 MB / 0.9471 GB, free: 19.1 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009523/1.249, allocations: 4.277 MB / 0.9512 GB, free: 18.44 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004429/1.253, allocations: 2.243 MB / 0.9534 GB, free: 18.07 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001116/1.254, allocations: 168.4 kB / 0.9536 GB, free: 18.07 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008221/1.263, allocations: 2.91 MB / 0.9564 GB, free: 17.59 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002106/1.265, allocations: 1.213 MB / 0.9576 GB, free: 17.29 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002137/1.267, allocations: 1.006 MB / 0.9586 GB, free: 17.25 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007866/1.275, allocations: 6.308 MB / 0.9648 GB, free: 13.98 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/1.275, allocations: 4 kB / 0.9648 GB, free: 13.98 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.573e-06/1.275, allocations: 3.312 kB / 0.9648 GB, free: 13.98 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003145/1.275, allocations: 0 / 0.9648 GB, free: 13.98 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.011/1.286, allocations: 4.662 MB / 0.9693 GB, free: 11.14 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.286, allocations: 13.06 kB / 0.9693 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/1.297, allocations: 1.927 MB / 0.9712 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00718/1.304, allocations: 3.454 MB / 0.9746 GB, free: 9.016 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001482/1.305, allocations: 0.7011 MB / 0.9753 GB, free: 8.766 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007468/1.306, allocations: 348.3 kB / 0.9756 GB, free: 8.766 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007754/1.314, allocations: 4.552 MB / 0.98 GB, free: 7.496 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/1.314, allocations: 6.469 kB / 0.9801 GB, free: 7.492 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003044/1.314, allocations: 139.8 kB / 0.9802 GB, free: 7.492 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.974e-05/1.314, allocations: 133.4 kB / 0.9803 GB, free: 7.48 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007707/1.322, allocations: 4.169 MB / 0.9844 GB, free: 5.938 MB / 0.67 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.02529/1.347, allocations: 18.86 MB / 1.003 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004014/1.351, allocations: 2.036 MB / 1.005 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003919/1.352, allocations: 177.1 kB / 1.005 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002512/1.354, allocations: 1.248 MB / 1.006 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001718/1.356, allocations: 189.1 kB / 1.006 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=135): time 4.118e-06/1.356, allocations: 0 / 1.006 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135): time 0.007917/1.364, allocations: 3.294 MB / 1.01 GB, free: 152 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.364, allocations: 218.6 kB / 1.01 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/1.369, allocations: 3.639 MB / 1.013 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002897/1.37, allocations: 56.83 kB / 1.013 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/1.371, allocations: 2.02 MB / 1.015 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004163/1.371, allocations: 480.7 kB / 1.016 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.372, allocations: 36 kB / 1.016 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.372, allocations: 382.1 kB / 1.016 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002691/1.374, allocations: 1.133 MB / 1.017 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003104/1.378, allocations: 1.813 MB / 1.019 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002821/1.38, allocations: 1.3 MB / 1.02 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.38, allocations: 10.53 kB / 1.02 GB, free: 7.785 MB / 0.7012 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006848/1.387, allocations: 3.252 MB / 1.024 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.002326/1.39, allocations: 7.352 MB / 1.031 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/1.39, allocations: 16 kB / 1.031 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.184e-05/1.39, allocations: 28 kB / 1.031 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/1.392, allocations: 0.5886 MB / 1.031 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-05/1.392, allocations: 37.09 kB / 1.031 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004485/1.397, allocations: 0.6307 MB / 1.032 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/1.397, allocations: 97.25 kB / 1.032 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/1.397, allocations: 6.438 kB / 1.032 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006198/1.403, allocations: 2.896 MB / 1.035 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/1.403, allocations: 16 kB / 1.035 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/1.403, allocations: 31.25 kB / 1.035 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/1.406, allocations: 0.5775 MB / 1.036 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/1.406, allocations: 33.98 kB / 1.036 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004369/1.41, allocations: 0.538 MB / 1.036 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/1.41, allocations: 101.7 kB / 1.036 GB, free: 9.098 MB / 0.7169 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.002124/1.412, allocations: 1.128 MB / 1.037 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000681/1.413, allocations: 367.3 kB / 1.038 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005261/1.418, allocations: 2.486 MB / 1.04 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.418, allocations: 23.94 kB / 1.04 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.418, allocations: 4 kB / 1.04 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003735/1.422, allocations: 1.932 MB / 1.042 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/1.436, allocations: 7.842 MB / 1.05 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.436, allocations: 8.156 kB / 1.05 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.438, allocations: 375.7 kB / 1.05 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/1.438, allocations: 70.64 kB / 1.05 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/1.438, allocations: 44.67 kB / 1.05 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/1.439, allocations: 1.458 MB / 1.052 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/1.439, allocations: 14.53 kB / 1.052 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008036/1.447, allocations: 5.333 MB / 1.057 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001778/1.449, allocations: 0.6886 MB / 1.057 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004546/1.449, allocations: 40.36 kB / 1.057 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003109/1.453, allocations: 441.7 kB / 1.058 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/1.453, allocations: 135.8 kB / 1.058 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/1.453, allocations: 70.45 kB / 1.058 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003704/1.457, allocations: 2.52 MB / 1.061 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/1.457, allocations: 0 / 1.061 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00486/1.462, allocations: 2.013 MB / 1.063 GB, free: 2.848 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.0009707/1.462, allocations: 494.5 kB / 1.063 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009136/1.472, allocations: 4.022 MB / 1.067 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.472, allocations: 7.938 kB / 1.067 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002578/1.474, allocations: 1.226 MB / 1.068 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007892/1.482, allocations: 1.899 MB / 1.07 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/1.498, allocations: 9.324 MB / 1.079 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/1.501, allocations: 2.751 MB / 1.082 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004928/1.506, allocations: 0.9869 MB / 1.083 GB, free: 0.6758 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008698/1.506, allocations: 274.7 kB / 1.083 GB, free: 428 kB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/1.507, allocations: 0 / 1.083 GB, free: 428 kB / 0.7481 GB Notification: Performance of Templates: time 0.1096/1.616, allocations: 68.11 MB / 1.15 GB, free: 13.25 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) Environment - environmentSimulation: