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.001124/0.001124, allocations: 108 kB / 15.61 MB, free: 152 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.001178/0.001178, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.9861/0.9861, allocations: 143 MB / 433.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1295, allocations: 82.04 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002247/0.1317, allocations: 1.247 MB / 0.5956 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009164/0.1327, allocations: 0.5838 MB / 0.5962 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.1327, allocations: 3.938 kB / 0.5962 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.1327, allocations: 0 / 0.5962 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.679e-05/0.1328, allocations: 7.969 kB / 0.5962 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.1333, allocations: 139.3 kB / 0.5963 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.234e-05/0.1334, allocations: 15.92 kB / 0.5963 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.1334, allocations: 8 kB / 0.5963 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.508e-05/0.1334, allocations: 0 / 0.5963 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.1335, allocations: 4 kB / 0.5963 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1335, allocations: 0 / 0.5963 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/0.134, allocations: 343.3 kB / 0.5967 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.134, allocations: 7.938 kB / 0.5967 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.134, allocations: 7.984 kB / 0.5967 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1343, allocations: 139.9 kB / 0.5968 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1343, allocations: 0 / 0.5968 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1343, allocations: 0 / 0.5968 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.1343, allocations: 0 / 0.5968 GB, free: 7.016 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.0003354/0.1347, allocations: 355.5 kB / 0.5972 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.1347, allocations: 8.625 kB / 0.5972 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.482e-05/0.1347, allocations: 34.75 kB / 0.5972 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.1348, allocations: 4.844 kB / 0.5972 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.533e-05/0.1349, allocations: 164.4 kB / 0.5974 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1349, allocations: 384 / 0.5974 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.1349, allocations: 4.375 kB / 0.5974 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.654e-05/0.135, allocations: 42.19 kB / 0.5974 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.135, allocations: 7.938 kB / 0.5974 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.135, allocations: 0 / 0.5974 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.135, allocations: 4 kB / 0.5974 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.1351, allocations: 0 / 0.5974 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.1352, allocations: 153.7 kB / 0.5976 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/0.1353, allocations: 18.61 kB / 0.5976 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.1353, allocations: 16.91 kB / 0.5976 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1353, allocations: 4 kB / 0.5976 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1353, allocations: 34.5 kB / 0.5976 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1353, allocations: 0 / 0.5976 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001182/0.1355, allocations: 45.62 kB / 0.5977 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.1355, allocations: 55.41 kB / 0.5977 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.1356, allocations: 93.86 kB / 0.5978 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.1356, allocations: 25.7 kB / 0.5979 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.1356, allocations: 84.39 kB / 0.5979 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.1356, allocations: 3.906 kB / 0.5979 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.1357, allocations: 25.64 kB / 0.598 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.1358, allocations: 310.8 kB / 0.5983 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.1358, allocations: 0 / 0.5983 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.1358, allocations: 11.94 kB / 0.5983 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.1358, allocations: 12.86 kB / 0.5983 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1359, allocations: 3.938 kB / 0.5983 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.317e-05/0.1359, allocations: 45.75 kB / 0.5983 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1359, allocations: 7.938 kB / 0.5983 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1359, allocations: 0 / 0.5983 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.136, allocations: 0 / 0.5983 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1361, allocations: 8 kB / 0.5983 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003201/0.1364, allocations: 0.5899 MB / 0.5989 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.1365, allocations: 128 / 0.5989 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1365, allocations: 4 kB / 0.5989 GB, free: 4.609 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 6.07e-05/0.1365, allocations: 113.8 kB / 0.599 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.1366, allocations: 3.906 kB / 0.599 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.362e-05/0.1367, allocations: 44.81 kB / 0.5991 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1367, allocations: 0 / 0.5991 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1367, allocations: 0 / 0.5991 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1367, allocations: 0 / 0.5991 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.043e-05/0.1368, allocations: 161.6 kB / 0.5992 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1368, allocations: 0 / 0.5992 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.1369, allocations: 11.94 kB / 0.5992 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1369, allocations: 0 / 0.5992 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.1369, allocations: 0 / 0.5992 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002666/0.1372, allocations: 0.586 MB / 0.5998 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1372, allocations: 3.938 kB / 0.5998 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.455e-05/0.1373, allocations: 65.2 kB / 0.5999 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.1373, allocations: 77.11 kB / 0.6 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.1373, allocations: 3.984 kB / 0.6 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.463e-05/0.1373, allocations: 4 kB / 0.6 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.1373, allocations: 3.938 kB / 0.6 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.1374, allocations: 0 / 0.6 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.828e-05/0.1374, allocations: 79.28 kB / 0.6 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1374, allocations: 4.125 kB / 0.6 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001985/0.1376, allocations: 11.94 kB / 0.6001 GB, free: 3.324 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.0003398/0.1379, allocations: 0.6085 MB / 0.6007 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.1381, allocations: 27.95 kB / 0.6007 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1381, allocations: 0 / 0.6007 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.112e-05/0.1382, allocations: 16 kB / 0.6007 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.1384, allocations: 8.484 kB / 0.6007 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.1388, allocations: 135.6 kB / 0.6008 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.139, allocations: 0.6729 MB / 0.6015 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.457e-05/0.139, allocations: 4.125 kB / 0.6015 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.139, allocations: 7.438 kB / 0.6015 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.139, allocations: 0 / 0.6015 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7472/0.8862, allocations: 1.353 MB / 0.6028 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.2/20.09, allocations: 17.33 kB / 0.6028 GB, free: 0.5938 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)