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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.005273/0.005273, allocations: 101 kB / 15.73 MB, free: 6.059 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.001533/0.001533, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9062/0.9062, allocations: 143.3 MB / 433.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 71.7 kB / 0.5953 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1362, allocations: 82.03 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002216/0.1385, allocations: 1.254 MB / 0.6766 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.1395, allocations: 0.5996 MB / 0.6772 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.1395, allocations: 0 / 0.6772 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.1395, allocations: 0 / 0.6772 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.329e-05/0.1396, allocations: 0 / 0.6772 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.1401, allocations: 139.4 kB / 0.6773 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.1401, allocations: 15.94 kB / 0.6774 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.1402, allocations: 3.984 kB / 0.6774 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.851e-05/0.1402, allocations: 11.94 kB / 0.6774 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.1402, allocations: 3.984 kB / 0.6774 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.1402, allocations: 0 / 0.6774 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005481/0.1408, allocations: 339.3 kB / 0.6777 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.1408, allocations: 7.969 kB / 0.6777 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.1408, allocations: 3.938 kB / 0.6777 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.1411, allocations: 139.9 kB / 0.6779 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1411, allocations: 0 / 0.6779 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.113e-06/0.1411, allocations: 0 / 0.6779 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.1411, allocations: 0 / 0.6779 GB, free: 8.121 MB / 0.5137 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.0003928/0.1415, allocations: 359.1 kB / 0.6782 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1416, allocations: 12.03 kB / 0.6782 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.1416, allocations: 30.75 kB / 0.6782 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.818e-05/0.1416, allocations: 4.875 kB / 0.6782 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1418, allocations: 164.4 kB / 0.6784 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1418, allocations: 4.375 kB / 0.6784 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-06/0.1418, allocations: 384 / 0.6784 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.768e-05/0.1419, allocations: 30.27 kB / 0.6784 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1419, allocations: 7.875 kB / 0.6784 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1419, allocations: 11.94 kB / 0.6784 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1419, allocations: 0 / 0.6784 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.1419, allocations: 7.984 kB / 0.6785 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.1421, allocations: 149.7 kB / 0.6786 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.875e-05/0.1422, allocations: 22.61 kB / 0.6786 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.652e-05/0.1422, allocations: 4.859 kB / 0.6786 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1422, allocations: 4.062 kB / 0.6786 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1422, allocations: 34.56 kB / 0.6787 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1422, allocations: 0 / 0.6787 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001312/0.1424, allocations: 49.56 kB / 0.6787 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1424, allocations: 51.41 kB / 0.6788 GB, free: 7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.1425, allocations: 97.86 kB / 0.6789 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1425, allocations: 25.7 kB / 0.6789 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.46e-05/0.1426, allocations: 80.14 kB / 0.679 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.1426, allocations: 16.19 kB / 0.679 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.1426, allocations: 9.719 kB / 0.679 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.1428, allocations: 314.8 kB / 0.6793 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.1428, allocations: 4 kB / 0.6793 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.1428, allocations: 0 / 0.6793 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.1428, allocations: 16.8 kB / 0.6793 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1428, allocations: 0 / 0.6793 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.621e-05/0.1429, allocations: 41.78 kB / 0.6793 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1429, allocations: 11.94 kB / 0.6793 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1429, allocations: 0 / 0.6793 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1429, allocations: 0 / 0.6793 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.1431, allocations: 11.98 kB / 0.6794 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003917/0.1435, allocations: 0.5898 MB / 0.6799 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.1435, allocations: 4.031 kB / 0.6799 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1435, allocations: 0 / 0.6799 GB, free: 5.723 MB / 0.5137 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 8.207e-05/0.1436, allocations: 121.9 kB / 0.6801 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.1436, allocations: 7.938 kB / 0.6801 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.827e-05/0.1437, allocations: 44.81 kB / 0.6801 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1437, allocations: 0 / 0.6801 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1437, allocations: 0 / 0.6801 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.1437, allocations: 0 / 0.6801 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1439, allocations: 153.6 kB / 0.6803 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1439, allocations: 0 / 0.6803 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.144, allocations: 15.97 kB / 0.6803 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.144, allocations: 0 / 0.6803 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.144, allocations: 0 / 0.6803 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003602/0.1443, allocations: 0.5899 MB / 0.6808 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1444, allocations: 3.938 kB / 0.6808 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.63e-05/0.1444, allocations: 65.22 kB / 0.6809 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1445, allocations: 89.03 kB / 0.681 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.1445, allocations: 0 / 0.681 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.378e-05/0.1445, allocations: 0 / 0.681 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.1445, allocations: 7.875 kB / 0.681 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1445, allocations: 0 / 0.681 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.1446, allocations: 79.28 kB / 0.6811 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1446, allocations: 0 / 0.6811 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001887/0.1448, allocations: 8.125 kB / 0.6811 GB, free: 4.426 MB / 0.5137 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.0004265/0.1452, allocations: 0.6179 MB / 0.6817 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.1454, allocations: 19.98 kB / 0.6817 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1454, allocations: 3.938 kB / 0.6817 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.1455, allocations: 16.08 kB / 0.6817 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1456, allocations: 14.44 kB / 0.6817 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.146, allocations: 127.6 kB / 0.6819 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1463, allocations: 0.6767 MB / 0.6825 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.28e-05/0.1463, allocations: 0 / 0.6825 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.1464, allocations: 15.5 kB / 0.6825 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1464, allocations: 0 / 0.6825 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9836/1.13, allocations: 1.393 MB / 0.6839 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.18, allocations: 448 / 0.6839 GB, free: 1.684 MB / 0.5137 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)