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-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_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.004325/0.004325, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001172/0.001172, allocations: 197 kB / 16.67 MB, free: 5.973 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.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.9206/0.9206, allocations: 143.3 MB / 433.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 67.89 kB / 0.5953 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3119, allocations: 82.03 MB / 0.6754 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001583/0.3136, allocations: 1.235 MB / 0.6766 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008994/0.3145, allocations: 0.598 MB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.3145, allocations: 1.156 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.3145, allocations: 0 / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.208e-05/0.3146, allocations: 7.938 kB / 0.6772 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.315, allocations: 143.2 kB / 0.6773 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.906e-05/0.3151, allocations: 8.531 kB / 0.6774 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.3151, allocations: 10.27 kB / 0.6774 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.331e-05/0.3151, allocations: 1.688 kB / 0.6774 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.3152, allocations: 3.281 kB / 0.6774 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.3152, allocations: 0 / 0.6774 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.3157, allocations: 345 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.096e-06/0.3157, allocations: 5.094 kB / 0.6777 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.3157, allocations: 6.188 kB / 0.6777 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.316, allocations: 139.1 kB / 0.6778 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.316, allocations: 0 / 0.6778 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.677e-06/0.316, allocations: 1.219 kB / 0.6778 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.316, allocations: 3.938 kB / 0.6778 GB, free: 15.16 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.0003585/0.3164, allocations: 355.3 kB / 0.6782 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.3164, allocations: 9.219 kB / 0.6782 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.3164, allocations: 36.02 kB / 0.6782 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.673e-05/0.3165, allocations: 5.938 kB / 0.6782 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3166, allocations: 169.4 kB / 0.6784 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-06/0.3166, allocations: 384 / 0.6784 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-06/0.3166, allocations: 1.438 kB / 0.6784 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.115e-05/0.3167, allocations: 29.55 kB / 0.6784 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3167, allocations: 3.938 kB / 0.6784 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.3167, allocations: 5.188 kB / 0.6784 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3167, allocations: 0 / 0.6784 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.3167, allocations: 7.547 kB / 0.6784 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.3169, allocations: 147.7 kB / 0.6786 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.836e-05/0.3169, allocations: 28.2 kB / 0.6786 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.317, allocations: 10.94 kB / 0.6786 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.317, allocations: 1.031 kB / 0.6786 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.317, allocations: 31.94 kB / 0.6787 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.317, allocations: 3.938 kB / 0.6787 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001151/0.3171, allocations: 47.08 kB / 0.6787 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3172, allocations: 52.72 kB / 0.6787 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.3173, allocations: 100.3 kB / 0.6788 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3173, allocations: 25.7 kB / 0.6789 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.3173, allocations: 81.23 kB / 0.6789 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.3173, allocations: 9.516 kB / 0.679 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.3174, allocations: 10.84 kB / 0.679 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3175, allocations: 320.4 kB / 0.6793 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.3175, allocations: 1.438 kB / 0.6793 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.126e-05/0.3175, allocations: 6.297 kB / 0.6793 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.3176, allocations: 10.39 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3176, allocations: 3.938 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.71e-05/0.3176, allocations: 37.98 kB / 0.6793 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3176, allocations: 10.22 kB / 0.6793 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.3177, allocations: 0 / 0.6793 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.3177, allocations: 96 / 0.6793 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.3178, allocations: 19.77 kB / 0.6794 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003477/0.3182, allocations: 0.5821 MB / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.44e-05/0.3182, allocations: 1.125 kB / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.3182, allocations: 5.078 kB / 0.6799 GB, free: 12.87 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 7.2e-05/0.3183, allocations: 114.8 kB / 0.68 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-06/0.3183, allocations: 5.062 kB / 0.68 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.638e-05/0.3184, allocations: 49 kB / 0.6801 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3184, allocations: 1.25 kB / 0.6801 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.3184, allocations: 0 / 0.6801 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.3184, allocations: 0 / 0.6801 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.3185, allocations: 157.2 kB / 0.6802 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3185, allocations: 0 / 0.6802 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.065e-05/0.3186, allocations: 12.83 kB / 0.6803 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3186, allocations: 0 / 0.6803 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.3186, allocations: 0 / 0.6803 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003027/0.3189, allocations: 0.5862 MB / 0.6808 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3189, allocations: 5.125 kB / 0.6808 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.078e-05/0.319, allocations: 70.2 kB / 0.6809 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.319, allocations: 82.23 kB / 0.681 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-06/0.3191, allocations: 4.125 kB / 0.681 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.273e-05/0.3191, allocations: 5.031 kB / 0.681 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.053e-05/0.3191, allocations: 5.188 kB / 0.681 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3191, allocations: 0 / 0.681 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.3191, allocations: 77.59 kB / 0.6811 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3191, allocations: 0 / 0.6811 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001702/0.3193, allocations: 14.7 kB / 0.6811 GB, free: 11.62 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.000424/0.3197, allocations: 0.6181 MB / 0.6817 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.3199, allocations: 16.42 kB / 0.6817 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.3199, allocations: 1.062 kB / 0.6817 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.646e-05/0.32, allocations: 17.86 kB / 0.6817 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.3201, allocations: 9.906 kB / 0.6817 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.3204, allocations: 137.9 kB / 0.6819 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3207, allocations: 0.6721 MB / 0.6825 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.343e-05/0.3208, allocations: 7.922 kB / 0.6825 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.3208, allocations: 12.81 kB / 0.6825 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.3208, allocations: 0 / 0.6825 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6679/0.9887, allocations: 1.409 MB / 0.6839 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/17.62, allocations: 3.062 kB / 0.6839 GB, free: 9.422 MB / 0.5137 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)