Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_Buildings_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.001215/0.001215, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 188 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.838/1.838, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 71.06 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2583, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.0029/0.2613, allocations: 1.244 MB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2623, allocations: 0.5877 MB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.2624, allocations: 0 / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.2624, allocations: 0 / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.263e-05/0.2625, allocations: 11.92 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.263, allocations: 138.7 kB / 0.7856 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.446e-05/0.2631, allocations: 15.92 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.2631, allocations: 4 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.2631, allocations: 7.938 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.2632, allocations: 3.984 kB / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.2632, allocations: 0 / 0.7856 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005051/0.2637, allocations: 339.4 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.2637, allocations: 0 / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.2638, allocations: 15.86 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.264, allocations: 132 kB / 0.7861 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.264, allocations: 3.984 kB / 0.7861 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.264, allocations: 4 kB / 0.7861 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2641, allocations: 0 / 0.7861 GB, free: 10.8 MB / 0.6075 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.0004211/0.2645, allocations: 355.4 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2645, allocations: 8.031 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.2646, allocations: 34.69 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.2646, allocations: 8.844 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.2647, allocations: 164.4 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.2647, allocations: 384 / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.2648, allocations: 384 / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.545e-05/0.2649, allocations: 34.25 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2649, allocations: 7.938 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.2649, allocations: 4 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2649, allocations: 0 / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.2649, allocations: 7.984 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.2651, allocations: 149.7 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.516e-05/0.2652, allocations: 26.52 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.2652, allocations: 12.92 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2652, allocations: 7.938 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2652, allocations: 30.56 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2652, allocations: 0 / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001409/0.2654, allocations: 45.62 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2654, allocations: 59.34 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.226e-05/0.2655, allocations: 93.86 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2655, allocations: 25.7 kB / 0.7871 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.2656, allocations: 84.39 kB / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.2656, allocations: 7.906 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.2656, allocations: 9.719 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2657, allocations: 322.8 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.2657, allocations: 0 / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.2658, allocations: 4 kB / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.2658, allocations: 8.859 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2658, allocations: 0 / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.221e-05/0.2659, allocations: 49.69 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2659, allocations: 7.938 kB / 0.7876 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2659, allocations: 0 / 0.7876 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2659, allocations: 4 kB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2661, allocations: 8 kB / 0.7876 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003531/0.2664, allocations: 0.5782 MB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.2665, allocations: 8.047 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.2665, allocations: 4 kB / 0.7882 GB, free: 8.402 MB / 0.6075 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.514e-05/0.2666, allocations: 117.3 kB / 0.7883 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.2666, allocations: 7.938 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.2667, allocations: 48.75 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2667, allocations: 0 / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2667, allocations: 0 / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2667, allocations: 0 / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.363e-05/0.2668, allocations: 153.7 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2668, allocations: 0 / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.877e-05/0.2669, allocations: 11.98 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2669, allocations: 0 / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.2669, allocations: 0 / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002843/0.2672, allocations: 0.5821 MB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2672, allocations: 11.88 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.981e-05/0.2673, allocations: 69.25 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.2674, allocations: 77.11 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.2674, allocations: 0 / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.2674, allocations: 0 / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.2674, allocations: 7.922 kB / 0.7892 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.2674, allocations: 4 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.2675, allocations: 79.22 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2675, allocations: 4.125 kB / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002204/0.2677, allocations: 15.94 kB / 0.7893 GB, free: 7.098 MB / 0.6075 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.0003895/0.2681, allocations: 0.6085 MB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.2683, allocations: 16 kB / 0.7899 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2683, allocations: 4.094 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.2684, allocations: 11.98 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.2685, allocations: 10.38 kB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.269, allocations: 144.5 kB / 0.7901 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2692, allocations: 0.6729 MB / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.796e-05/0.2693, allocations: 8.062 kB / 0.7907 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.2693, allocations: 11.44 kB / 0.7907 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2693, allocations: 0 / 0.7907 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.2877, allocations: 1.355 MB / 0.7921 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.33, allocations: 4.922 kB / 0.7921 GB, free: 4.348 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)