Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.ThermalZoneHVACNoExhaust,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",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.0007195/0.0007196, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004327/0.004328, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.228/1.228, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.712/0.712, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004703, allocations: 9.844 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3785, allocations: 81.58 MB / 0.5837 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.5888/0.9674, allocations: 335.7 MB / 0.9116 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03333/1.001, allocations: 36.32 MB / 0.9471 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00406/1.005, allocations: 120.7 kB / 0.9472 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00444/1.009, allocations: 1.976 MB / 0.9491 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01196/1.021, allocations: 5.389 MB / 0.9544 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006047/1.027, allocations: 2.743 MB / 0.9571 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01071/1.038, allocations: 11.38 MB / 0.9682 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004374/1.042, allocations: 3.442 MB / 0.9715 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007971/1.05, allocations: 4.199 MB / 0.9756 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004274/1.055, allocations: 2.532 MB / 0.9781 GB, free: 10.63 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003067/1.055, allocations: 120 kB / 0.9782 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00937/1.064, allocations: 5.712 MB / 0.9838 GB, free: 5.383 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/1.066, allocations: 0.9752 MB / 0.9847 GB, free: 4.418 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002132/1.068, allocations: 1.768 MB / 0.9865 GB, free: 2.648 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009082/1.077, allocations: 7.056 MB / 0.9934 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.077, allocations: 3.984 kB / 0.9934 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.422e-06/1.077, allocations: 0 / 0.9934 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.009e-05/1.077, allocations: 0 / 0.9934 GB, free: 11.93 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.006518/1.083, allocations: 3.668 MB / 0.997 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/1.083, allocations: 12.03 kB / 0.997 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004517/1.084, allocations: 354.4 kB / 0.9973 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008/1.092, allocations: 1.469 MB / 0.9987 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004994/1.097, allocations: 2.733 MB / 1.001 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001119/1.098, allocations: 488.7 kB / 1.002 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003904/1.098, allocations: 262.5 kB / 1.002 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006291/1.105, allocations: 3.407 MB / 1.005 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.968e-05/1.105, allocations: 4 kB / 1.005 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/1.105, allocations: 103.9 kB / 1.006 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/1.105, allocations: 104.9 kB / 1.006 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006672/1.112, allocations: 3.068 MB / 1.009 GB, free: 12.09 MB / 0.7012 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.01932/1.131, allocations: 14.11 MB / 1.022 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/1.135, allocations: 1.604 MB / 1.024 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/1.136, allocations: 0.7044 MB / 1.025 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003924/1.137, allocations: 305.7 kB / 1.025 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/1.138, allocations: 0.8332 MB / 1.026 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008639/1.139, allocations: 106.7 kB / 1.026 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 3.025e-06/1.139, allocations: 4 kB / 1.026 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106): time 0.005448/1.145, allocations: 2.186 MB / 1.028 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/1.145, allocations: 119.8 kB / 1.028 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003451/1.148, allocations: 2.513 MB / 1.031 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.148, allocations: 57.7 kB / 1.031 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/1.15, allocations: 1.591 MB / 1.032 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/1.15, allocations: 377.9 kB / 1.033 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/1.15, allocations: 149.6 kB / 1.033 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/1.15, allocations: 301.1 kB / 1.033 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/1.152, allocations: 0.7847 MB / 1.034 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/1.155, allocations: 1.543 MB / 1.035 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004072/1.159, allocations: 2.213 MB / 1.037 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/1.159, allocations: 8 kB / 1.037 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.005487/1.165, allocations: 2.52 MB / 1.04 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004574/1.165, allocations: 0.7356 MB / 1.041 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/1.165, allocations: 20 kB / 1.041 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.611e-05/1.165, allocations: 32 kB / 1.041 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/1.167, allocations: 491.2 kB / 1.041 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.746e-05/1.167, allocations: 39.86 kB / 1.041 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/1.17, allocations: 457.2 kB / 1.042 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/1.17, allocations: 91.98 kB / 1.042 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/1.17, allocations: 4 kB / 1.042 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00495/1.175, allocations: 2.243 MB / 1.044 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.175, allocations: 20 kB / 1.044 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/1.175, allocations: 28 kB / 1.044 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/1.177, allocations: 483.5 kB / 1.044 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-05/1.177, allocations: 47.73 kB / 1.044 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/1.18, allocations: 367.9 kB / 1.045 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/1.18, allocations: 87.97 kB / 1.045 GB, free: 4.891 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (218): * Single equations (assignments): 215 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00143/1.182, allocations: 0.8912 MB / 1.046 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/1.182, allocations: 272.6 kB / 1.046 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/1.186, allocations: 1.694 MB / 1.048 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/1.186, allocations: 8 kB / 1.048 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.186, allocations: 4 kB / 1.048 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002936/1.189, allocations: 1.325 MB / 1.049 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007766/1.197, allocations: 4.456 MB / 1.053 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.197, allocations: 12.03 kB / 1.053 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.198, allocations: 243.7 kB / 1.054 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/1.198, allocations: 48.83 kB / 1.054 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.001e-05/1.198, allocations: 35.98 kB / 1.054 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/1.199, allocations: 1.425 MB / 1.055 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/1.199, allocations: 15.88 kB / 1.055 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004961/1.204, allocations: 2.566 MB / 1.058 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007153/1.205, allocations: 493.5 kB / 1.058 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/1.205, allocations: 27.98 kB / 1.058 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.207, allocations: 247.8 kB / 1.058 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.207, allocations: 88.38 kB / 1.058 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.69e-05/1.208, allocations: 51.97 kB / 1.058 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002478/1.21, allocations: 1.699 MB / 1.06 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.21, allocations: 0 / 1.06 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003727/1.214, allocations: 1.573 MB / 1.062 GB, free: 3.262 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (105): * Single equations (assignments): 102 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005891/1.22, allocations: 3.479 MB / 1.065 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006336/1.226, allocations: 2.963 MB / 1.068 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.226, allocations: 8 kB / 1.068 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/1.228, allocations: 0.8239 MB / 1.069 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007319/1.235, allocations: 1.194 MB / 1.07 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03944/1.275, allocations: 23.88 MB / 1.093 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/1.276, allocations: 2.13 MB / 1.095 GB, free: 14.66 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003302/1.28, allocations: 0.7596 MB / 1.096 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/1.281, allocations: 1.273 MB / 1.097 GB, free: 12.62 MB / 0.795 GB Notification: Performance of SimCode: time 5.71e-07/1.281, allocations: 0 / 1.097 GB, free: 12.62 MB / 0.795 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: IDEAS.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).