Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_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.001636/0.001636, allocations: 97.36 kB / 15.69 MB, free: 480 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.003665/0.003665, allocations: 174.7 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.632/2.632, allocations: 223.2 MB / 240.5 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.135/1.135, allocations: 113.7 MB / 405.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006559/0.000656, allocations: 12.91 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2597, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002185/0.262, allocations: 0.9588 MB / 0.5577 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009407/0.2629, allocations: 325.4 kB / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.186e-05/0.263, allocations: 0 / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.692e-05/0.263, allocations: 0 / 0.558 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.2631, allocations: 7.938 kB / 0.558 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.2637, allocations: 63.78 kB / 0.558 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.2638, allocations: 7.984 kB / 0.5581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.2639, allocations: 3.984 kB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.2639, allocations: 8 kB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.264, allocations: 0 / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.264, allocations: 4 kB / 0.5581 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005354/0.2646, allocations: 183.6 kB / 0.5582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.2646, allocations: 0 / 0.5582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.2646, allocations: 25.7 kB / 0.5583 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.2649, allocations: 52.16 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2649, allocations: 0 / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2649, allocations: 0 / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2649, allocations: 0 / 0.5583 GB, free: 10.05 MB / 430.1 MB 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.0005583/0.2655, allocations: 331.4 kB / 0.5586 GB, free: 9.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.2656, allocations: 8.031 kB / 0.5586 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.253e-05/0.2656, allocations: 38.48 kB / 0.5587 GB, free: 9.625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.2657, allocations: 4 kB / 0.5587 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.2659, allocations: 163 kB / 0.5588 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.2659, allocations: 0 / 0.5588 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.266, allocations: 3.953 kB / 0.5588 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2661, allocations: 29.7 kB / 0.5589 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2661, allocations: 0 / 0.5589 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2661, allocations: 4 kB / 0.5589 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2662, allocations: 3.984 kB / 0.5589 GB, free: 9.375 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.2662, allocations: 8 kB / 0.5589 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.2665, allocations: 145.7 kB / 0.559 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/0.2666, allocations: 30.53 kB / 0.5591 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.2666, allocations: 3.984 kB / 0.5591 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.2666, allocations: 42.58 kB / 0.5591 GB, free: 9.082 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/0.2667, allocations: 0 / 0.5591 GB, free: 9.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001917/0.2669, allocations: 45.55 kB / 0.5591 GB, free: 9.031 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.2669, allocations: 51.41 kB / 0.5592 GB, free: 8.969 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.2671, allocations: 101.8 kB / 0.5593 GB, free: 8.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.2671, allocations: 25.7 kB / 0.5593 GB, free: 8.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.2671, allocations: 80.14 kB / 0.5594 GB, free: 8.746 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.2672, allocations: 7.906 kB / 0.5594 GB, free: 8.738 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.2672, allocations: 8.188 kB / 0.5594 GB, free: 8.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2674, allocations: 314.8 kB / 0.5597 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.2674, allocations: 0 / 0.5597 GB, free: 8.414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.2675, allocations: 4 kB / 0.5597 GB, free: 8.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.2675, allocations: 0 / 0.5597 GB, free: 8.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2675, allocations: 0 / 0.5597 GB, free: 8.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001187/0.2676, allocations: 41.69 kB / 0.5597 GB, free: 8.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.2677, allocations: 8 kB / 0.5598 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2677, allocations: 8.047 kB / 0.5598 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2677, allocations: 4 kB / 0.5598 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.268, allocations: 11.98 kB / 0.5598 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005749/0.2686, allocations: 0.5821 MB / 0.5603 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.2686, allocations: 0 / 0.5603 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2687, allocations: 0 / 0.5603 GB, free: 7.727 MB / 430.1 MB 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 0.0001358/0.2688, allocations: 121.9 kB / 0.5605 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.2688, allocations: 0 / 0.5605 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.269, allocations: 48.75 kB / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2691, allocations: 0 / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2691, allocations: 0 / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2691, allocations: 0 / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.2693, allocations: 149.7 kB / 0.5606 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2693, allocations: 3.953 kB / 0.5607 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.2694, allocations: 8 kB / 0.5607 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2694, allocations: 32 / 0.5607 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.2695, allocations: 7.984 kB / 0.5607 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005441/0.27, allocations: 0.586 MB / 0.5612 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2701, allocations: 0 / 0.5612 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.2702, allocations: 65.03 kB / 0.5613 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.2703, allocations: 89.22 kB / 0.5614 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.2703, allocations: 0 / 0.5614 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.2704, allocations: 4 kB / 0.5614 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.2704, allocations: 0 / 0.5614 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.2704, allocations: 0 / 0.5614 GB, free: 6.523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.371e-05/0.2705, allocations: 75.28 kB / 0.5615 GB, free: 6.449 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2705, allocations: 0 / 0.5615 GB, free: 6.449 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.2709, allocations: 8 kB / 0.5615 GB, free: 6.441 MB / 430.1 MB 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.0006166/0.2715, allocations: 0.6286 MB / 0.5621 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.2718, allocations: 27.92 kB / 0.5621 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2718, allocations: 0 / 0.5621 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.272, allocations: 11.98 kB / 0.5621 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.2722, allocations: 11.31 kB / 0.5621 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006411/0.2729, allocations: 128.9 kB / 0.5623 GB, free: 5.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.2733, allocations: 0.677 MB / 0.5629 GB, free: 4.867 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.741e-05/0.2734, allocations: 0 / 0.5629 GB, free: 4.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.2734, allocations: 7.438 kB / 0.5629 GB, free: 4.859 MB / 430.1 MB Notification: Performance of SimCode: time 3.346e-06/0.2734, allocations: 4 kB / 0.5629 GB, free: 4.855 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03963/0.3131, allocations: 1.125 MB / 0.564 GB, free: 3.961 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003761/0.3135, allocations: 239.3 kB / 0.5643 GB, free: 3.727 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.163, allocations: 0 / 0.5643 GB, free: 3.727 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: