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.001161/0.001161, allocations: 100.1 kB / 15.88 MB, free: 12 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.00119/0.00119, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.168/1.168, allocations: 222.9 MB / 240.5 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6114/0.6114, allocations: 115.3 MB / 405.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 65.16 kB / 493 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1084, allocations: 76.19 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7226/0.831, allocations: 340.8 MB / 0.8887 GB, free: 16.3 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03289/0.8639, allocations: 38.66 MB / 0.9265 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.8671, allocations: 127.3 kB / 0.9266 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008515/0.8756, allocations: 5.213 MB / 0.9317 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009659/0.8853, allocations: 5.437 MB / 0.937 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005037/0.8903, allocations: 2.773 MB / 0.9397 GB, free: 12.54 MB / 0.6387 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.01079/0.9011, allocations: 14.36 MB / 0.9537 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00306/0.9042, allocations: 3.628 MB / 0.9573 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007173/0.9114, allocations: 4.33 MB / 0.9615 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003862/0.9152, allocations: 2.821 MB / 0.9642 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.9156, allocations: 196 kB / 0.9644 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009019/0.9247, allocations: 6.001 MB / 0.9703 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.9257, allocations: 1.229 MB / 0.9715 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001963/0.9277, allocations: 2.065 MB / 0.9735 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007864/0.9356, allocations: 7.775 MB / 0.9811 GB, free: 10.81 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.9356, allocations: 0 / 0.9811 GB, free: 10.81 MB / 0.67 GB Notification: Performance of FrontEnd: time 8.02e-07/0.9356, allocations: 3.938 kB / 0.9811 GB, free: 10.8 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.74e-05/0.9357, allocations: 0 / 0.9811 GB, free: 10.8 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: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.007005/0.9427, allocations: 4.785 MB / 0.9858 GB, free: 5.988 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.9427, allocations: 8.031 kB / 0.9858 GB, free: 5.98 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003991/0.9431, allocations: 369 kB / 0.9861 GB, free: 5.613 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007936/0.9511, allocations: 1.477 MB / 0.9876 GB, free: 4.133 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005458/0.9565, allocations: 3.742 MB / 0.9912 GB, free: 468 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009763/0.9575, allocations: 462.6 kB / 0.9917 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/0.9579, allocations: 262.8 kB / 0.9919 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005593/0.9635, allocations: 3.393 MB / 0.9952 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.9635, allocations: 3.984 kB / 0.9952 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.9637, allocations: 104 kB / 0.9953 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.641e-05/0.9638, allocations: 104.9 kB / 0.9954 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006105/0.9699, allocations: 3.036 MB / 0.9984 GB, free: 9.004 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.01734/0.9873, allocations: 14.43 MB / 1.012 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/0.9904, allocations: 1.601 MB / 1.014 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.9918, allocations: 0.6994 MB / 1.015 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003829/0.9922, allocations: 303.5 kB / 1.015 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/0.9938, allocations: 0.8161 MB / 1.016 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006379/0.9945, allocations: 122.4 kB / 1.016 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=105): time 2.474e-06/0.9945, allocations: 4 kB / 1.016 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=105): time 0.00492/0.9994, allocations: 2.209 MB / 1.018 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.9995, allocations: 115.8 kB / 1.018 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/1.003, allocations: 3.092 MB / 1.021 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.003, allocations: 51.97 kB / 1.021 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/1.004, allocations: 1.739 MB / 1.023 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/1.005, allocations: 383.2 kB / 1.023 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005889/1.005, allocations: 477.1 kB / 1.024 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.007e-05/1.005, allocations: 305.1 kB / 1.024 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/1.007, allocations: 0.9658 MB / 1.025 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/1.01, allocations: 1.73 MB / 1.027 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003818/1.014, allocations: 2.527 MB / 1.029 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/1.014, allocations: 11.94 kB / 1.029 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005209/1.019, allocations: 2.978 MB / 1.032 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/1.019, allocations: 45.69 kB / 1.032 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/1.019, allocations: 20 kB / 1.032 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/1.019, allocations: 35.94 kB / 1.032 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/1.021, allocations: 0.5283 MB / 1.033 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.46e-05/1.021, allocations: 48.95 kB / 1.033 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/1.024, allocations: 479.5 kB / 1.033 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/1.024, allocations: 104 kB / 1.033 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002885/1.027, allocations: 1.768 MB / 1.035 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002418/1.029, allocations: 1.728 MB / 1.037 GB, free: 120 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003901/1.033, allocations: 2.535 MB / 1.039 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.026e-05/1.033, allocations: 4 kB / 1.039 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=284) (initialization_lambda0): time 0.005182/1.038, allocations: 2.981 MB / 1.042 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/1.038, allocations: 45.69 kB / 1.042 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/1.038, allocations: 20 kB / 1.042 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/1.039, allocations: 32 kB / 1.042 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/1.04, allocations: 0.5227 MB / 1.043 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-05/1.041, allocations: 45.45 kB / 1.043 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002763/1.043, allocations: 452.3 kB / 1.043 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.043, allocations: 99.97 kB / 1.043 GB, free: 9.309 MB / 0.7325 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.0003159/1.044, allocations: 320.8 kB / 1.044 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003541/1.044, allocations: 300.2 kB / 1.044 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/1.048, allocations: 1.702 MB / 1.046 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.048, allocations: 15.94 kB / 1.046 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.048, allocations: 0 / 1.046 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002661/1.05, allocations: 1.312 MB / 1.047 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007447/1.058, allocations: 4.724 MB / 1.051 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.058, allocations: 4 kB / 1.051 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/1.059, allocations: 251.8 kB / 1.052 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001793/1.059, allocations: 52.83 kB / 1.052 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.583e-05/1.059, allocations: 31.98 kB / 1.052 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/1.06, allocations: 1.43 MB / 1.053 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.06, allocations: 10.91 kB / 1.053 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004465/1.065, allocations: 2.56 MB / 1.056 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000724/1.065, allocations: 0.5205 MB / 1.056 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/1.066, allocations: 35.98 kB / 1.056 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/1.068, allocations: 245.7 kB / 1.056 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.068, allocations: 96.36 kB / 1.057 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-05/1.068, allocations: 47.97 kB / 1.057 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002598/1.071, allocations: 2.083 MB / 1.059 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.071, allocations: 0 / 1.059 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003736/1.074, allocations: 1.733 MB / 1.06 GB, free: 7.492 MB / 0.7481 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.005636/1.08, allocations: 3.57 MB / 1.064 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006164/1.086, allocations: 3.453 MB / 1.067 GB, free: 372 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.086, allocations: 4.562 kB / 1.067 GB, free: 368 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/1.088, allocations: 0.8316 MB / 1.068 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004963/1.093, allocations: 1.388 MB / 1.069 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04229/1.135, allocations: 27.44 MB / 1.096 GB, free: 496 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/1.137, allocations: 2.311 MB / 1.098 GB, free: 14.15 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003501/1.14, allocations: 0.8835 MB / 1.099 GB, free: 13.26 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/1.142, allocations: 1.448 MB / 1.101 GB, free: 11.81 MB / 0.795 GB Notification: Performance of SimCode: time 5.21e-07/1.142, allocations: 0 / 1.101 GB, free: 11.81 MB / 0.795 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).