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.007735/0.007735, allocations: 103.2 kB / 15.73 MB, free: 5.996 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.001817/0.001817, allocations: 194.7 kB / 16.67 MB, free: 5.922 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.145 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 1.01/1.01, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 0.5951 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4865, allocations: 82.02 MB / 0.6752 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003673/0.4903, allocations: 1.239 MB / 0.6764 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.4918, allocations: 0.6019 MB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.4919, allocations: 0 / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.4919, allocations: 1.156 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.492, allocations: 0 / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.4929, allocations: 150.7 kB / 0.6771 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.162e-05/0.493, allocations: 12.5 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.4931, allocations: 2.219 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.037e-05/0.4931, allocations: 2.812 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.4932, allocations: 5.828 kB / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.4932, allocations: 0 / 0.6771 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006304/0.4938, allocations: 345.4 kB / 0.6775 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.4938, allocations: 0 / 0.6775 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.4939, allocations: 10.12 kB / 0.6775 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.4942, allocations: 141.9 kB / 0.6776 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4942, allocations: 4 kB / 0.6776 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4942, allocations: 0 / 0.6776 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.4942, allocations: 1.062 kB / 0.6776 GB, free: 15.33 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.0005428/0.4948, allocations: 346.8 kB / 0.6779 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4948, allocations: 9.656 kB / 0.6779 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.4949, allocations: 31.66 kB / 0.678 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.4949, allocations: 2.156 kB / 0.678 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.4951, allocations: 169.3 kB / 0.6781 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4951, allocations: 384 / 0.6781 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.4951, allocations: 9.359 kB / 0.6781 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.4952, allocations: 37.67 kB / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4952, allocations: 3.938 kB / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.4952, allocations: 1.094 kB / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.4952, allocations: 0 / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.4953, allocations: 3.438 kB / 0.6782 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.4955, allocations: 151.9 kB / 0.6783 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.821e-05/0.4955, allocations: 24.3 kB / 0.6784 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.4956, allocations: 11.05 kB / 0.6784 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.4956, allocations: 0.9688 kB / 0.6784 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4956, allocations: 31.78 kB / 0.6784 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.4956, allocations: 3.938 kB / 0.6784 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001588/0.4958, allocations: 42.88 kB / 0.6784 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.4959, allocations: 56.53 kB / 0.6785 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.4959, allocations: 100.7 kB / 0.6786 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.496, allocations: 25.7 kB / 0.6786 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.496, allocations: 80.14 kB / 0.6787 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.496, allocations: 13.11 kB / 0.6787 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.4961, allocations: 17 kB / 0.6787 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4962, allocations: 310.8 kB / 0.679 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.4962, allocations: 2.25 kB / 0.679 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.4962, allocations: 1.969 kB / 0.679 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.65e-05/0.4963, allocations: 22.86 kB / 0.679 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4963, allocations: 0 / 0.679 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.2e-05/0.4964, allocations: 45.38 kB / 0.6791 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4964, allocations: 10.72 kB / 0.6791 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4964, allocations: 1.375 kB / 0.6791 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4964, allocations: 0 / 0.6791 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.4966, allocations: 11.86 kB / 0.6791 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000397/0.497, allocations: 0.5908 MB / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.497, allocations: 0 / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.497, allocations: 1.094 kB / 0.6797 GB, free: 13.04 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.467e-05/0.4971, allocations: 111 kB / 0.6798 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.4972, allocations: 1.406 kB / 0.6798 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.4973, allocations: 44.78 kB / 0.6798 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4973, allocations: 4.125 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4973, allocations: 1.062 kB / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4973, allocations: 0 / 0.6798 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.4974, allocations: 156.5 kB / 0.68 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4974, allocations: 1.125 kB / 0.68 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/0.4975, allocations: 7.5 kB / 0.68 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.4975, allocations: 0 / 0.68 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.4975, allocations: 5.094 kB / 0.68 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003361/0.4979, allocations: 0.5901 MB / 0.6806 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.4979, allocations: 3.938 kB / 0.6806 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.246e-05/0.498, allocations: 58.39 kB / 0.6806 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.498, allocations: 82.31 kB / 0.6807 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.498, allocations: 1.062 kB / 0.6807 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.684e-05/0.4981, allocations: 0 / 0.6807 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.4981, allocations: 9.094 kB / 0.6807 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.4981, allocations: 5.219 kB / 0.6807 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.4981, allocations: 81.41 kB / 0.6808 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4982, allocations: 0 / 0.6808 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002712/0.4984, allocations: 14.72 kB / 0.6808 GB, free: 11.81 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.0005544/0.499, allocations: 0.6066 MB / 0.6814 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.4993, allocations: 21.39 kB / 0.6814 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4993, allocations: 0 / 0.6814 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.4994, allocations: 21.83 kB / 0.6815 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.4996, allocations: 7.031 kB / 0.6815 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007076/0.5004, allocations: 151.3 kB / 0.6816 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.5008, allocations: 0.6722 MB / 0.6823 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.5008, allocations: 0 / 0.6823 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.5008, allocations: 8.406 kB / 0.6823 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of SimCode: time 9.72e-07/0.5009, allocations: 0 / 0.6823 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.5273, allocations: 1.422 MB / 0.6837 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.6, allocations: 6.438 kB / 0.6837 GB, free: 9.598 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)