Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IBPSA_latest_IBPSA_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.0008971/0.0008973, allocations: 98.5 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009575/0.0009575, allocations: 183.5 kB / 16.92 MB, free: 6.691 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.26/1.26, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6471/0.6471, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 8 kB / 496 MB, free: 6.285 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, allocations: 77.53 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8093/0.9312, allocations: 336.1 MB / 0.8883 GB, free: 16.58 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03627/0.9675, allocations: 38.2 MB / 0.9256 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004308/0.9718, allocations: 120.6 kB / 0.9257 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.009229/0.9811, allocations: 5.2 MB / 0.9308 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.993, allocations: 5.437 MB / 0.9361 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005854/0.9988, allocations: 2.773 MB / 0.9388 GB, free: 14.04 MB / 0.6387 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01279/1.012, allocations: 14.35 MB / 0.9528 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004747/1.016, allocations: 3.465 MB / 0.9562 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00752/1.024, allocations: 4.154 MB / 0.9603 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004549/1.029, allocations: 2.6 MB / 0.9628 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005983/1.029, allocations: 128 kB / 0.9629 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009209/1.038, allocations: 5.931 MB / 0.9687 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/1.04, allocations: 1.112 MB / 0.9698 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002998/1.043, allocations: 1.937 MB / 0.9717 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01003/1.053, allocations: 7.615 MB / 0.9791 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/1.053, allocations: 0 / 0.9791 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/1.053, allocations: 4 kB / 0.9791 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.406e-05/1.053, allocations: 4 kB / 0.9791 GB, free: 3.633 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.006593/1.06, allocations: 3.986 MB / 0.983 GB, free: 15.61 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/1.06, allocations: 15.97 kB / 0.983 GB, free: 15.59 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004357/1.06, allocations: 368.5 kB / 0.9834 GB, free: 15.23 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008234/1.068, allocations: 1.587 MB / 0.9849 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006028/1.074, allocations: 3.745 MB / 0.9886 GB, free: 9.965 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/1.075, allocations: 490 kB / 0.9891 GB, free: 9.465 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003829/1.076, allocations: 260 kB / 0.9893 GB, free: 9.211 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006201/1.082, allocations: 3.43 MB / 0.9927 GB, free: 5.691 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.601e-05/1.082, allocations: 3.938 kB / 0.9927 GB, free: 5.688 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/1.082, allocations: 108 kB / 0.9928 GB, free: 5.582 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.269e-05/1.082, allocations: 100.9 kB / 0.9929 GB, free: 5.48 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006659/1.089, allocations: 3.106 MB / 0.9959 GB, free: 2.375 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.0187/1.108, allocations: 14.49 MB / 1.01 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003379/1.111, allocations: 1.61 MB / 1.012 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/1.113, allocations: 0.7071 MB / 1.012 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003596/1.113, allocations: 306.8 kB / 1.013 GB, free: 392 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/1.115, allocations: 0.8213 MB / 1.013 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007666/1.116, allocations: 122.5 kB / 1.014 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=105): time 2.414e-06/1.116, allocations: 8 kB / 1.014 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of matching and sorting (n=105): time 0.005343/1.121, allocations: 2.219 MB / 1.016 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/1.121, allocations: 119.8 kB / 1.016 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0039/1.125, allocations: 3.088 MB / 1.019 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/1.125, allocations: 57.7 kB / 1.019 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/1.126, allocations: 1.727 MB / 1.021 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/1.127, allocations: 382.9 kB / 1.021 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/1.127, allocations: 210.1 kB / 1.021 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/1.127, allocations: 305.1 kB / 1.021 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/1.129, allocations: 0.9605 MB / 1.022 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/1.132, allocations: 1.738 MB / 1.024 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004241/1.136, allocations: 2.542 MB / 1.027 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.136, allocations: 4 kB / 1.027 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005782/1.142, allocations: 2.993 MB / 1.029 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000431/1.142, allocations: 0.772 MB / 1.03 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/1.142, allocations: 20 kB / 1.03 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/1.142, allocations: 32 kB / 1.03 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/1.145, allocations: 0.531 MB / 1.031 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.469e-05/1.145, allocations: 44.42 kB / 1.031 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/1.148, allocations: 490.3 kB / 1.031 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/1.148, allocations: 102.9 kB / 1.031 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-06/1.148, allocations: 4 kB / 1.031 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005316/1.153, allocations: 2.698 MB / 1.034 GB, free: 9.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/1.153, allocations: 24 kB / 1.034 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/1.153, allocations: 32.47 kB / 1.034 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.155, allocations: 0.5266 MB / 1.035 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-05/1.156, allocations: 43.86 kB / 1.035 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/1.158, allocations: 425.5 kB / 1.035 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/1.158, allocations: 95.98 kB / 1.035 GB, free: 8.566 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (249): * Single equations (assignments): 245 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001487/1.16, allocations: 0.9961 MB / 1.036 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/1.16, allocations: 308.1 kB / 1.036 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003753/1.164, allocations: 1.71 MB / 1.038 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.164, allocations: 12 kB / 1.038 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.164, allocations: 0 / 1.038 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002911/1.167, allocations: 1.325 MB / 1.039 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008044/1.175, allocations: 4.723 MB / 1.044 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/1.175, allocations: 8 kB / 1.044 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/1.176, allocations: 248.2 kB / 1.044 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/1.176, allocations: 60.75 kB / 1.044 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-05/1.177, allocations: 39.98 kB / 1.044 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/1.178, allocations: 1.425 MB / 1.046 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.178, allocations: 11.94 kB / 1.046 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004936/1.183, allocations: 2.564 MB / 1.048 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.184, allocations: 0.5284 MB / 1.049 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004414/1.184, allocations: 31.98 kB / 1.049 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002132/1.186, allocations: 255.6 kB / 1.049 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.186, allocations: 88.38 kB / 1.049 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.694e-05/1.187, allocations: 51.97 kB / 1.049 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002969/1.189, allocations: 2.087 MB / 1.051 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.189, allocations: 0 / 1.051 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004027/1.194, allocations: 1.739 MB / 1.053 GB, free: 5.883 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (104): * Single equations (assignments): 101 * 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.006283/1.2, allocations: 3.595 MB / 1.056 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006999/1.207, allocations: 3.467 MB / 1.06 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.207, allocations: 7.938 kB / 1.06 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/1.209, allocations: 0.8362 MB / 1.061 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008972/1.218, allocations: 1.382 MB / 1.062 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04707/1.265, allocations: 27.54 MB / 1.089 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/1.266, allocations: 2.315 MB / 1.091 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003346/1.27, allocations: 0.8835 MB / 1.092 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/1.271, allocations: 1.448 MB / 1.093 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/1.271, allocations: 0 / 1.093 GB, free: 10.05 MB / 0.7794 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: IBPSA.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).