Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IDEAS_dev_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.0009133/0.0009134, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006609/0.006609, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8982/0.8982, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003201, allocations: 8 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 82.32 MB / 0.5881 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8328/0.9768, allocations: 335.7 MB / 0.9159 GB, free: 16.71 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03746/1.014, allocations: 36.33 MB / 0.9514 GB, free: 16.12 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004674/1.019, allocations: 120.3 kB / 0.9515 GB, free: 16.12 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004617/1.024, allocations: 1.985 MB / 0.9534 GB, free: 16.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01233/1.036, allocations: 5.381 MB / 0.9587 GB, free: 15.8 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0064/1.042, allocations: 2.749 MB / 0.9614 GB, free: 15.71 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0113/1.054, allocations: 11.36 MB / 0.9725 GB, free: 14.31 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00513/1.059, allocations: 3.452 MB / 0.9758 GB, free: 13.14 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008694/1.068, allocations: 4.197 MB / 0.9799 GB, free: 12.43 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005419/1.073, allocations: 2.539 MB / 0.9824 GB, free: 12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007491/1.074, allocations: 121 kB / 0.9825 GB, free: 12 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/1.084, allocations: 5.71 MB / 0.9881 GB, free: 9.965 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/1.085, allocations: 0.9803 MB / 0.9891 GB, free: 9.453 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00286/1.088, allocations: 1.767 MB / 0.9908 GB, free: 8.355 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008814/1.097, allocations: 7.056 MB / 0.9977 GB, free: 1.797 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/1.097, allocations: 0 / 0.9977 GB, free: 1.797 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.182e-06/1.097, allocations: 0 / 0.9977 GB, free: 1.797 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001599/1.097, allocations: 3.938 kB / 0.9977 GB, free: 1.793 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.007268/1.104, allocations: 3.659 MB / 1.001 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/1.104, allocations: 12.03 kB / 1.001 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006369/1.105, allocations: 357.5 kB / 1.002 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008391/1.113, allocations: 1.47 MB / 1.003 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/1.119, allocations: 2.738 MB / 1.006 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00115/1.12, allocations: 487.8 kB / 1.006 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/1.12, allocations: 267.6 kB / 1.006 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006465/1.127, allocations: 3.404 MB / 1.01 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-05/1.127, allocations: 4 kB / 1.01 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/1.127, allocations: 102.3 kB / 1.01 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-05/1.127, allocations: 104.9 kB / 1.01 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006725/1.134, allocations: 3.071 MB / 1.013 GB, free: 2.051 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.01946/1.153, allocations: 14.12 MB / 1.027 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/1.157, allocations: 1.601 MB / 1.028 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/1.158, allocations: 0.704 MB / 1.029 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003737/1.159, allocations: 306.8 kB / 1.029 GB, free: 464 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/1.161, allocations: 0.8319 MB / 1.03 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008338/1.161, allocations: 106.7 kB / 1.03 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 2.575e-06/1.161, allocations: 4 kB / 1.03 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106): time 0.005327/1.167, allocations: 2.173 MB / 1.032 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/1.167, allocations: 119 kB / 1.032 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/1.17, allocations: 2.517 MB / 1.035 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/1.17, allocations: 57.7 kB / 1.035 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/1.171, allocations: 1.582 MB / 1.036 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/1.172, allocations: 388.6 kB / 1.037 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/1.172, allocations: 149.6 kB / 1.037 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/1.172, allocations: 305.1 kB / 1.037 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/1.174, allocations: 0.7847 MB / 1.038 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/1.177, allocations: 1.538 MB / 1.04 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004112/1.181, allocations: 2.221 MB / 1.042 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/1.181, allocations: 8 kB / 1.042 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.005743/1.187, allocations: 2.52 MB / 1.044 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000439/1.187, allocations: 0.7434 MB / 1.045 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/1.187, allocations: 20 kB / 1.045 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.601e-05/1.187, allocations: 32 kB / 1.045 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/1.189, allocations: 492.8 kB / 1.045 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.909e-05/1.189, allocations: 47.52 kB / 1.046 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/1.193, allocations: 439.8 kB / 1.046 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/1.193, allocations: 99.91 kB / 1.046 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/1.193, allocations: 8 kB / 1.046 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005018/1.198, allocations: 2.231 MB / 1.048 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/1.198, allocations: 20 kB / 1.048 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/1.198, allocations: 32.44 kB / 1.048 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/1.2, allocations: 484.5 kB / 1.049 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-05/1.2, allocations: 41.17 kB / 1.049 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/1.203, allocations: 374.8 kB / 1.049 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/1.203, allocations: 91.97 kB / 1.049 GB, free: 11.45 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.001489/1.204, allocations: 0.8908 MB / 1.05 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/1.205, allocations: 268.6 kB / 1.05 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/1.209, allocations: 1.684 MB / 1.052 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.209, allocations: 8 kB / 1.052 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/1.209, allocations: 7.938 kB / 1.052 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002925/1.212, allocations: 1.32 MB / 1.053 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008513/1.22, allocations: 4.462 MB / 1.058 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.22, allocations: 8 kB / 1.058 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.221, allocations: 244.5 kB / 1.058 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/1.222, allocations: 52.83 kB / 1.058 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/1.222, allocations: 31.98 kB / 1.058 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/1.223, allocations: 1.429 MB / 1.059 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.223, allocations: 10.91 kB / 1.059 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/1.228, allocations: 2.573 MB / 1.062 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.229, allocations: 489.5 kB / 1.062 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004919/1.23, allocations: 24 kB / 1.062 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/1.232, allocations: 243.6 kB / 1.063 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.232, allocations: 94.39 kB / 1.063 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.232, allocations: 55.91 kB / 1.063 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002746/1.235, allocations: 1.699 MB / 1.064 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.235, allocations: 0 / 1.064 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004102/1.239, allocations: 1.572 MB / 1.066 GB, free: 9.945 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.00616/1.245, allocations: 3.47 MB / 1.069 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006618/1.252, allocations: 2.97 MB / 1.072 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.252, allocations: 0 / 1.072 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/1.254, allocations: 0.8282 MB / 1.073 GB, free: 2.766 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007917/1.262, allocations: 1.193 MB / 1.074 GB, free: 1.598 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04147/1.303, allocations: 23.89 MB / 1.098 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/1.305, allocations: 2.126 MB / 1.1 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003417/1.309, allocations: 0.7712 MB / 1.1 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001571/1.31, allocations: 1.269 MB / 1.102 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of SimCode: time 6.72e-07/1.31, allocations: 0 / 1.102 GB, free: 3.621 MB / 0.7794 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).