Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8464/0.8464, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.766/1.766, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_BaseClasses_Validation_TableData2DLoadDep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_BaseClasses_Validation_TableData2DLoadDep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.338e-05, allocations: 4.672 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.003832/0.003856, allocations: 3.414 MB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004656/0.008512, allocations: 4.693 MB / 1.008 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.00889, allocations: 27.75 kB / 1.008 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.01025, allocations: 0.4902 MB / 1.008 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.0114, allocations: 0.8484 MB / 1.009 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.01194, allocations: 427 kB / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.01304, allocations: 1.305 MB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.0133, allocations: 130.4 kB / 1.011 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.01442, allocations: 0.8536 MB / 1.012 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007494/0.01517, allocations: 0.7246 MB / 1.012 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.01534, allocations: 84 kB / 1.012 GB, free: 420 kB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.01564, allocations: 163.8 kB / 1.013 GB, free: 256 kB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0005846/0.01622, allocations: 0.9271 MB / 1.013 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003776/0.0166, allocations: 0.4983 MB / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.0181, allocations: 2.125 MB / 1.016 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.0181, allocations: 0 / 1.016 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.293e-06/0.0181, allocations: 0 / 1.016 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.861e-05/0.01816, allocations: 4 kB / 1.016 GB, free: 12.68 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002586/0.02075, allocations: 2.267 MB / 1.018 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.02079, allocations: 8.75 kB / 1.018 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.02091, allocations: 126.7 kB / 1.018 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.0212, allocations: 231.5 kB / 1.019 GB, free: 10.01 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.02333, allocations: 1.925 MB / 1.02 GB, free: 8.023 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.02353, allocations: 334.8 kB / 1.021 GB, free: 7.648 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.777e-05/0.02363, allocations: 68.12 kB / 1.021 GB, free: 7.582 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.02528, allocations: 1.433 MB / 1.022 GB, free: 6.129 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.02529, allocations: 0 / 1.022 GB, free: 6.129 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/0.02536, allocations: 39.98 kB / 1.022 GB, free: 6.09 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.02537, allocations: 12 kB / 1.022 GB, free: 6.078 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.02663, allocations: 1.089 MB / 1.023 GB, free: 4.988 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002828/0.02946, allocations: 2.383 MB / 1.026 GB, free: 2.543 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.03068, allocations: 0.964 MB / 1.027 GB, free: 1.57 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009725/0.03165, allocations: 0.8813 MB / 1.028 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.03166, allocations: 4 kB / 1.028 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.03168, allocations: 34.56 kB / 1.028 GB, free: 0.6406 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=115): time 3.527e-06/0.03169, allocations: 0 / 1.028 GB, free: 0.6406 MB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.005136/0.03682, allocations: 4.326 MB / 1.032 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.03686, allocations: 55.41 kB / 1.032 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.03892, allocations: 2.269 MB / 1.034 GB, free: 9.926 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.03903, allocations: 53.69 kB / 1.034 GB, free: 9.867 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.03949, allocations: 0.7332 MB / 1.035 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.03975, allocations: 412.5 kB / 1.035 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/0.04014, allocations: 389.4 kB / 1.036 GB, free: 8.336 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.04022, allocations: 305.1 kB / 1.036 GB, free: 8.035 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.0417, allocations: 1.353 MB / 1.037 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.04321, allocations: 1.533 MB / 1.039 GB, free: 5.098 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003118/0.04633, allocations: 2.881 MB / 1.041 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.04633, allocations: 0 / 1.041 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.005015/0.05135, allocations: 4.341 MB / 1.046 GB, free: 13.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.05137, allocations: 6.125 kB / 1.046 GB, free: 13.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.05139, allocations: 12.03 kB / 1.046 GB, free: 13.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002971/0.05436, allocations: 3.74 MB / 1.049 GB, free: 10.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.05449, allocations: 51.91 kB / 1.049 GB, free: 9.984 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/0.05948, allocations: 5.709 MB / 1.055 GB, free: 4.172 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007703/0.06025, allocations: 214.2 kB / 1.055 GB, free: 3.961 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.06041, allocations: 187.9 kB / 1.055 GB, free: 3.777 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (hpSupLvg.coo_internal,chiRetEnt.coo_internal,chiSupLvg.coo_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 20 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006529/0.06107, allocations: 493.5 kB / 1.056 GB, free: 3.285 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.06135, allocations: 254.3 kB / 1.056 GB, free: 3.035 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.06148, allocations: 161.8 kB / 1.056 GB, free: 2.871 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.06149, allocations: 4 kB / 1.056 GB, free: 2.867 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.06149, allocations: 0 / 1.056 GB, free: 2.867 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.0615, allocations: 0 / 1.056 GB, free: 2.867 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007111/0.06221, allocations: 0.8479 MB / 1.057 GB, free: 1.973 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.06221, allocations: 0 / 1.057 GB, free: 1.973 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.06227, allocations: 19.98 kB / 1.057 GB, free: 1.953 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4268/0.4891, allocations: 3.697 MB / 1.061 GB, free: 98.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.4892, allocations: 67.7 kB / 1.061 GB, free: 98.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/0.4932, allocations: 5.688 MB / 1.066 GB, free: 95.11 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4932, allocations: 0.9688 kB / 1.066 GB, free: 95.11 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.4966, allocations: 3.353 MB / 1.07 GB, free: 93.89 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.4969, allocations: 195.1 kB / 1.07 GB, free: 93.77 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.497, allocations: 24.66 kB / 1.07 GB, free: 93.75 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.4973, allocations: 49.59 kB / 1.07 GB, free: 93.73 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.4975, allocations: 122.1 kB / 1.07 GB, free: 93.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.326e-05/0.4976, allocations: 131.6 kB / 1.07 GB, free: 93.71 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001153/0.4987, allocations: 1.52 MB / 1.072 GB, free: 93.21 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4987, allocations: 0 / 1.072 GB, free: 93.21 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006805/0.4994, allocations: 424.6 kB / 1.072 GB, free: 93.15 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,3), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00373/0.5031, allocations: 4.115 MB / 1.076 GB, free: 91.26 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005046/0.5082, allocations: 7.265 MB / 1.083 GB, free: 87.09 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5082, allocations: 0 / 1.083 GB, free: 87.09 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003565/0.5118, allocations: 5.832 MB / 1.089 GB, free: 83.36 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.513, allocations: 400.9 kB / 1.089 GB, free: 83.21 MB / 1.01 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 4.415456437505782] Failed to read output from testmodel.py, exit status != 0: 0.5238353917375207 0.537338191 0.5166532739999999 Calling exit ...