Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001416/0.001416, 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.00162/0.00162, allocations: 195.3 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.9602/0.9602, allocations: 143 MB / 433.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.89 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1373, allocations: 82.03 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002326/0.1396, allocations: 1.245 MB / 0.5956 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.1406, allocations: 0.5916 MB / 0.5962 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.1406, allocations: 0 / 0.5962 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.1407, allocations: 0 / 0.5962 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.129e-05/0.1407, allocations: 0 / 0.5962 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.1413, allocations: 147.3 kB / 0.5963 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.065e-05/0.1413, allocations: 11.94 kB / 0.5963 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.1413, allocations: 3.984 kB / 0.5963 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.826e-05/0.1414, allocations: 7.984 kB / 0.5964 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.1414, allocations: 4 kB / 0.5964 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1414, allocations: 3.938 kB / 0.5964 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005123/0.142, allocations: 339.3 kB / 0.5967 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.142, allocations: 0 / 0.5967 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.142, allocations: 11.92 kB / 0.5967 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.1422, allocations: 140 kB / 0.5968 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1423, allocations: 3.938 kB / 0.5968 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1423, allocations: 4 kB / 0.5968 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1423, allocations: 0 / 0.5968 GB, free: 6.977 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.0003473/0.1426, allocations: 355.4 kB / 0.5972 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.1427, allocations: 8.625 kB / 0.5972 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.1427, allocations: 34.75 kB / 0.5972 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.1427, allocations: 4.844 kB / 0.5972 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1428, allocations: 160.4 kB / 0.5974 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1429, allocations: 384 / 0.5974 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.1429, allocations: 384 / 0.5974 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.128e-05/0.143, allocations: 46.19 kB / 0.5974 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.143, allocations: 3.938 kB / 0.5974 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.143, allocations: 4 kB / 0.5974 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.143, allocations: 4 kB / 0.5974 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.391e-05/0.143, allocations: 0 / 0.5974 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.1432, allocations: 149.7 kB / 0.5976 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.07e-05/0.1432, allocations: 26.59 kB / 0.5976 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.1432, allocations: 12.92 kB / 0.5976 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1433, allocations: 0 / 0.5976 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.1433, allocations: 30.56 kB / 0.5976 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1433, allocations: 3.938 kB / 0.5976 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001324/0.1434, allocations: 49.62 kB / 0.5977 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.1435, allocations: 51.41 kB / 0.5977 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.734e-05/0.1435, allocations: 102 kB / 0.5978 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.1436, allocations: 25.7 kB / 0.5979 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.1436, allocations: 80.14 kB / 0.5979 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1436, allocations: 3.906 kB / 0.5979 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.1436, allocations: 13.72 kB / 0.598 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.1437, allocations: 318.8 kB / 0.5983 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.1438, allocations: 0 / 0.5983 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.1438, allocations: 7.938 kB / 0.5983 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/0.1438, allocations: 16.98 kB / 0.5983 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1438, allocations: 0 / 0.5983 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.426e-05/0.1439, allocations: 37.7 kB / 0.5983 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1439, allocations: 18.42 kB / 0.5983 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1439, allocations: 0 / 0.5983 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1439, allocations: 0 / 0.5983 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1441, allocations: 11.94 kB / 0.5983 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003222/0.1444, allocations: 0.586 MB / 0.5989 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.1444, allocations: 0 / 0.5989 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1445, allocations: 3.984 kB / 0.5989 GB, free: 4.582 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.626e-05/0.1445, allocations: 117.8 kB / 0.599 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.1445, allocations: 3.906 kB / 0.599 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.431e-05/0.1446, allocations: 44.81 kB / 0.5991 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1447, allocations: 0 / 0.5991 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1447, allocations: 4.125 kB / 0.5991 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1447, allocations: 0 / 0.5991 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.966e-05/0.1448, allocations: 149.6 kB / 0.5992 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1448, allocations: 4 kB / 0.5992 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.388e-05/0.1449, allocations: 11.98 kB / 0.5992 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.1449, allocations: 0 / 0.5992 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.1449, allocations: 3.938 kB / 0.5993 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002667/0.1452, allocations: 0.5822 MB / 0.5998 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1452, allocations: 8 kB / 0.5998 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.935e-05/0.1452, allocations: 65.12 kB / 0.5999 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.1453, allocations: 77.11 kB / 0.6 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.1453, allocations: 0 / 0.6 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.725e-05/0.1453, allocations: 4 kB / 0.6 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.1453, allocations: 11.86 kB / 0.6 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.1453, allocations: 0 / 0.6 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.091e-05/0.1454, allocations: 79.31 kB / 0.6001 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1454, allocations: 4 kB / 0.6001 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001988/0.1456, allocations: 7.938 kB / 0.6001 GB, free: 3.293 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.0003539/0.1459, allocations: 0.6087 MB / 0.6007 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1461, allocations: 27.86 kB / 0.6007 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1461, allocations: 0 / 0.6007 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.349e-05/0.1462, allocations: 15.98 kB / 0.6007 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.1464, allocations: 8.547 kB / 0.6007 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.1468, allocations: 139.7 kB / 0.6008 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.147, allocations: 0.6768 MB / 0.6015 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.147, allocations: 0 / 0.6015 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.1471, allocations: 11.44 kB / 0.6015 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1471, allocations: 0 / 0.6015 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.418/1.565, allocations: 1.33 MB / 0.6028 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.81/20.37, allocations: 16.45 kB / 0.6028 GB, free: 0.5742 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)