Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001072/0.001072, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001105/0.001105, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.936/0.936, allocations: 143 MB / 433.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.89 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1396, allocations: 82.03 MB / 0.5939 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002115/0.1418, allocations: 1.319 MB / 0.5952 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008458/0.1426, allocations: 0.5878 MB / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.841e-05/0.1427, allocations: 0 / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.1427, allocations: 0 / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.197e-05/0.1427, allocations: 3.984 kB / 0.5958 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.1432, allocations: 127.5 kB / 0.5959 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.82e-05/0.1432, allocations: 7.938 kB / 0.5959 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.1433, allocations: 8 kB / 0.5959 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.1433, allocations: 0 / 0.5959 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.1434, allocations: 4 kB / 0.5959 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.1434, allocations: 3.938 kB / 0.5959 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.1438, allocations: 351.3 kB / 0.5962 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.1438, allocations: 4 kB / 0.5963 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.1439, allocations: 3.938 kB / 0.5963 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1441, allocations: 136 kB / 0.5964 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1441, allocations: 7.938 kB / 0.5964 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1441, allocations: 0 / 0.5964 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.1441, allocations: 0 / 0.5964 GB, free: 7.258 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003488/0.1445, allocations: 351.5 kB / 0.5967 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1445, allocations: 12.62 kB / 0.5967 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.1446, allocations: 30.75 kB / 0.5968 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.1446, allocations: 4.844 kB / 0.5968 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1447, allocations: 164.4 kB / 0.5969 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1447, allocations: 8.375 kB / 0.5969 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.1447, allocations: 384 / 0.5969 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.998e-05/0.1448, allocations: 34.2 kB / 0.597 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1448, allocations: 7.938 kB / 0.597 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.1448, allocations: 0 / 0.597 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1449, allocations: 0 / 0.597 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.1449, allocations: 4 kB / 0.597 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.1451, allocations: 149.7 kB / 0.5971 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.665e-05/0.1451, allocations: 22.61 kB / 0.5971 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.1451, allocations: 12.8 kB / 0.5972 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1452, allocations: 4 kB / 0.5972 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1452, allocations: 34.62 kB / 0.5972 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1452, allocations: 0 / 0.5972 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001197/0.1453, allocations: 45.62 kB / 0.5972 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1454, allocations: 51.41 kB / 0.5973 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.1454, allocations: 93.86 kB / 0.5974 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1454, allocations: 25.7 kB / 0.5974 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.634e-05/0.1455, allocations: 84.39 kB / 0.5975 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1455, allocations: 11.89 kB / 0.5975 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1455, allocations: 13.72 kB / 0.5975 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.1456, allocations: 310.8 kB / 0.5978 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.1457, allocations: 7.938 kB / 0.5978 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-06/0.1457, allocations: 3.938 kB / 0.5978 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.1457, allocations: 16.86 kB / 0.5978 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1457, allocations: 64 / 0.5978 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.725e-05/0.1458, allocations: 45.69 kB / 0.5979 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1458, allocations: 7.938 kB / 0.5979 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1458, allocations: 0 / 0.5979 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1458, allocations: 0 / 0.5979 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.146, allocations: 15.92 kB / 0.5979 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002987/0.1463, allocations: 0.5821 MB / 0.5985 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.1463, allocations: 128 / 0.5985 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.1463, allocations: 8.031 kB / 0.5985 GB, free: 4.867 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.1464, allocations: 109.8 kB / 0.5986 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.1464, allocations: 3.906 kB / 0.5986 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.208e-05/0.1465, allocations: 44.81 kB / 0.5986 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1465, allocations: 4 kB / 0.5986 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1465, allocations: 3.938 kB / 0.5986 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1465, allocations: 0 / 0.5986 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.601e-05/0.1466, allocations: 157.6 kB / 0.5988 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1466, allocations: 4 kB / 0.5988 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.1467, allocations: 8 kB / 0.5988 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1467, allocations: 4 kB / 0.5988 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.1467, allocations: 0 / 0.5988 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000264/0.147, allocations: 0.5821 MB / 0.5994 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.147, allocations: 3.938 kB / 0.5994 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.179e-05/0.147, allocations: 65.2 kB / 0.5994 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.1471, allocations: 89.08 kB / 0.5995 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1471, allocations: 0 / 0.5995 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.367e-05/0.1471, allocations: 0 / 0.5995 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.1471, allocations: 3.938 kB / 0.5995 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1471, allocations: 0 / 0.5995 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.797e-05/0.1472, allocations: 83.28 kB / 0.5996 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1472, allocations: 4.125 kB / 0.5996 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001885/0.1474, allocations: 15.94 kB / 0.5996 GB, free: 3.57 MB / 0.4981 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003493/0.1477, allocations: 0.6008 MB / 0.6002 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001565/0.1479, allocations: 31.89 kB / 0.6002 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1479, allocations: 0 / 0.6002 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.47e-05/0.148, allocations: 15.98 kB / 0.6003 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.1481, allocations: 3.938 kB / 0.6003 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.1486, allocations: 139.5 kB / 0.6004 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1488, allocations: 0.6729 MB / 0.601 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.507e-05/0.1488, allocations: 4.125 kB / 0.6011 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.1488, allocations: 7.438 kB / 0.6011 GB, free: 2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.224e-06/0.1489, allocations: 0 / 0.6011 GB, free: 2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.16, allocations: 1.284 MB / 0.6023 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.1602, allocations: 280.5 kB / 0.6026 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/1.795, allocations: 2.953 kB / 0.6026 GB, free: 0.5898 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)