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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.716/0.716, allocations: 128.7 MB / 143.7 MB, free: 2.293 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 183.4 kB / 173.7 MB, free: 6.133 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 409 MB, free: 10.47 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008696/0.0008696, allocations: 78.89 kB / 486.5 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 13.34 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1522, allocations: 76.77 MB / 0.6354 GB, free: 30.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.2831, allocations: 103 MB / 0.736 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.2834, allocations: 79.95 kB / 0.7361 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.007175/0.2906, allocations: 2.41 MB / 0.7385 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2907, allocations: 3.938 kB / 0.7385 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.2907, allocations: 0 / 0.7385 GB, free: 4.727 MB / 0.5105 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.0003838/0.2911, allocations: 339.4 kB / 0.7388 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2912, allocations: 12.03 kB / 0.7388 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.291e-05/0.2912, allocations: 30.56 kB / 0.7388 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.2913, allocations: 7.953 kB / 0.7388 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.2914, allocations: 163 kB / 0.739 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2914, allocations: 0 / 0.739 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.2914, allocations: 0 / 0.739 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.292, allocations: 77.64 kB / 0.7391 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.292, allocations: 0 / 0.7391 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.292, allocations: 0 / 0.7391 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.292, allocations: 3.953 kB / 0.7391 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.2924, allocations: 55.88 kB / 0.7391 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.2926, allocations: 157.5 kB / 0.7393 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.293, allocations: 70.48 kB / 0.7394 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.2933, allocations: 93.16 kB / 0.7394 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2933, allocations: 34.56 kB / 0.7395 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.2933, allocations: 0 / 0.7395 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0008404/0.2942, allocations: 129.6 kB / 0.7396 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.2942, allocations: 51.41 kB / 0.7396 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.2943, allocations: 92.98 kB / 0.7397 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2943, allocations: 25.7 kB / 0.7398 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.2944, allocations: 80.14 kB / 0.7398 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.2944, allocations: 3.906 kB / 0.7398 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.2944, allocations: 4 kB / 0.7398 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2946, allocations: 323 kB / 0.7402 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.279e-05/0.2946, allocations: 11.98 kB / 0.7402 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.2947, allocations: 11.98 kB / 0.7402 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.2948, allocations: 16.06 kB / 0.7402 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2948, allocations: 0 / 0.7402 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002173/0.2951, allocations: 61.67 kB / 0.7402 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.2951, allocations: 4 kB / 0.7403 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2951, allocations: 3.938 kB / 0.7403 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2951, allocations: 0 / 0.7403 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.2965, allocations: 135.9 kB / 0.7404 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.2997, allocations: 1.501 MB / 0.7419 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.114e-05/0.2998, allocations: 15.91 kB / 0.7419 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.2998, allocations: 0 / 0.7419 GB, free: 0.8828 MB / 0.5105 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.645e-05/0.2999, allocations: 114 kB / 0.742 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.2999, allocations: 4 kB / 0.742 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.244e-05/0.2999, allocations: 3.125 kB / 0.742 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2999, allocations: 0 / 0.742 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3, allocations: 4 kB / 0.742 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3, allocations: 3.984 kB / 0.742 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3001, allocations: 157.6 kB / 0.7421 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3001, allocations: 0 / 0.7421 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.3014, allocations: 143.8 kB / 0.7423 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.3014, allocations: 4 kB / 0.7423 GB, free: 412 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.3014, allocations: 3.938 kB / 0.7423 GB, free: 408 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.318/0.6195, allocations: 1.503 MB / 0.7438 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6195, allocations: 0 / 0.7438 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.6198, allocations: 90.45 kB / 0.7438 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.6198, allocations: 77.11 kB / 0.7439 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.6198, allocations: 5.219 kB / 0.7439 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.6199, allocations: 6.906 kB / 0.7439 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.6199, allocations: 8.047 kB / 0.7439 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.6199, allocations: 8.938 kB / 0.7439 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.351e-05/0.62, allocations: 76.31 kB / 0.744 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.62, allocations: 0 / 0.744 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002183/0.6202, allocations: 9 kB / 0.744 GB, free: 108.5 MB / 0.5105 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004009/0.6206, allocations: 0.629 MB / 0.7446 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.6219, allocations: 148.6 kB / 0.7448 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.622, allocations: 1.875 kB / 0.7448 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.6232, allocations: 142.6 kB / 0.7449 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.6233, allocations: 4.438 kB / 0.7449 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.6246, allocations: 262.9 kB / 0.7452 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.6248, allocations: 0.6748 MB / 0.7458 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.832e-05/0.6248, allocations: 2.531 kB / 0.7458 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.6248, allocations: 11.28 kB / 0.7458 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of SimCode: time 7.92e-07/0.6248, allocations: 0 / 0.7458 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.6382, allocations: 1.182 MB / 0.747 GB, free: 107 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.6385, allocations: 260.5 kB / 0.7472 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.246, allocations: 0 / 0.7472 GB, free: 106.6 MB / 0.5105 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/linux/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)