Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.697/1.697, allocations: 289.9 MB / 297.4 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001602, allocations: 180.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009223/0.0009223, allocations: 90.31 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.62e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7151/0.7151, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.9152, allocations: 138.6 MB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.9155, allocations: 81.03 kB / 1.109 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007114/0.9227, allocations: 2.252 MB / 1.111 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.684e-06/0.9227, allocations: 0 / 1.111 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.9227, allocations: 6.094 kB / 1.111 GB, free: 9.246 MB / 0.7136 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.0003381/0.9231, allocations: 339.3 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.9231, allocations: 8.031 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.9232, allocations: 0.9062 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.9233, allocations: 171 kB / 1.112 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.9234, allocations: 1.344 kB / 1.112 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-06/0.9234, allocations: 3.984 kB / 1.112 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.547e-05/0.9234, allocations: 6.938 kB / 1.112 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.771e-05/0.9235, allocations: 28.64 kB / 1.112 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.9235, allocations: 0 / 1.112 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.9235, allocations: 4 kB / 1.112 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-06/0.9235, allocations: 0 / 1.112 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.9237, allocations: 134.1 kB / 1.112 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.134e-05/0.9238, allocations: 30.09 kB / 1.112 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.9238, allocations: 8.922 kB / 1.112 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.9238, allocations: 0 / 1.112 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.9239, allocations: 36.53 kB / 1.112 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9239, allocations: 3.938 kB / 1.112 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001317/0.924, allocations: 37.61 kB / 1.112 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.9241, allocations: 52.78 kB / 1.112 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.512e-05/0.9242, allocations: 89 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.9242, allocations: 25.7 kB / 1.112 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.9242, allocations: 84.97 kB / 1.112 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.9242, allocations: 7.25 kB / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/0.9243, allocations: 0 / 1.112 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9244, allocations: 314.8 kB / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.9244, allocations: 0 / 1.112 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-06/0.9244, allocations: 3.938 kB / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.639e-05/0.9245, allocations: 4 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.9245, allocations: 0 / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.278e-05/0.9245, allocations: 52.77 kB / 1.112 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.9246, allocations: 4 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.9246, allocations: 0 / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.9246, allocations: 4 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.9248, allocations: 4 kB / 1.112 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004182/0.9252, allocations: 0.5892 MB / 1.113 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.9252, allocations: 0 / 1.113 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.9252, allocations: 2.344 kB / 1.113 GB, free: 7.031 MB / 0.7136 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 () * 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.031e-05/0.9253, allocations: 112.9 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.969e-05/0.9254, allocations: 33.7 kB / 1.113 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-06/0.9254, allocations: 0 / 1.113 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.9255, allocations: 49.81 kB / 1.113 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.9255, allocations: 0 / 1.113 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9255, allocations: 0 / 1.113 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9255, allocations: 0 / 1.113 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.9256, allocations: 134.2 kB / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.9257, allocations: 0 / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.9257, allocations: 11.94 kB / 1.113 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.9258, allocations: 0 / 1.113 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.9258, allocations: 6.734 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003525/0.9261, allocations: 0.586 MB / 1.114 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.9261, allocations: 3.953 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.976e-05/0.9262, allocations: 61.17 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.9263, allocations: 89.02 kB / 1.114 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.9263, allocations: 0 / 1.114 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.9263, allocations: 0 / 1.114 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.9264, allocations: 12.02 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.9264, allocations: 7.188 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.9264, allocations: 79.28 kB / 1.114 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9264, allocations: 0 / 1.114 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000197/0.9266, allocations: 8 kB / 1.114 GB, free: 5.734 MB / 0.7136 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 () * 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.0004621/0.9271, allocations: 0.6125 MB / 1.115 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.9273, allocations: 12 kB / 1.115 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9273, allocations: 0 / 1.115 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.9274, allocations: 15.92 kB / 1.115 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.9275, allocations: 4 kB / 1.115 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.9278, allocations: 89.09 kB / 1.115 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.9281, allocations: 0.6808 MB / 1.116 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.565e-05/0.9281, allocations: 0 / 1.116 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.9281, allocations: 7.438 kB / 1.116 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.9281, allocations: 0 / 1.116 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.9491, allocations: 0.7381 MB / 1.116 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.9494, allocations: 184.2 kB / 1.116 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.484, allocations: 0 / 1.116 GB, free: 3.328 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)