Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="BuildingSystems_BuildingSystems_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.005909/0.005909, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001519/0.001519, allocations: 201.3 kB / 16.68 MB, free: 5.93 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: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002444/0.002444, allocations: 280.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9744/0.9744, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 95.84 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3869, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002322/0.3893, allocations: 1.241 MB / 0.7671 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009788/0.3903, allocations: 0.5894 MB / 0.7677 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.3903, allocations: 4 kB / 0.7677 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.3903, allocations: 0 / 0.7677 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.3904, allocations: 11.92 kB / 0.7677 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.3909, allocations: 134.9 kB / 0.7678 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.89e-05/0.391, allocations: 19.86 kB / 0.7679 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.391, allocations: 0 / 0.7679 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.188e-05/0.391, allocations: 7.984 kB / 0.7679 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.3911, allocations: 0 / 0.7679 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.3911, allocations: 4 kB / 0.7679 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.3916, allocations: 339.4 kB / 0.7682 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.3916, allocations: 3.984 kB / 0.7682 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.3917, allocations: 15.86 kB / 0.7682 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.3919, allocations: 132.8 kB / 0.7683 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3919, allocations: 3.984 kB / 0.7683 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.392, allocations: 4 kB / 0.7683 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.392, allocations: 0 / 0.7683 GB, free: 1.367 MB / 0.5294 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.0004286/0.3924, allocations: 359 kB / 0.7687 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3924, allocations: 8.031 kB / 0.7687 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.3925, allocations: 38.69 kB / 0.7687 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.02e-05/0.3925, allocations: 4.938 kB / 0.7687 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3926, allocations: 164.4 kB / 0.7689 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-06/0.3927, allocations: 384 / 0.7689 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.3927, allocations: 384 / 0.7689 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.715e-05/0.3928, allocations: 38.25 kB / 0.7689 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3928, allocations: 3.938 kB / 0.7689 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.3928, allocations: 0 / 0.7689 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3928, allocations: 0 / 0.7689 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.3928, allocations: 8 kB / 0.7689 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.393, allocations: 153.7 kB / 0.7691 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.135e-05/0.3931, allocations: 26.5 kB / 0.7691 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.3931, allocations: 8.922 kB / 0.7691 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.3931, allocations: 0 / 0.7691 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3932, allocations: 34.56 kB / 0.7692 GB, free: 372 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3932, allocations: 4 kB / 0.7692 GB, free: 368 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.3933, allocations: 45.56 kB / 0.7692 GB, free: 316 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.3933, allocations: 59.34 kB / 0.7693 GB, free: 244 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.3934, allocations: 93.86 kB / 0.7693 GB, free: 140 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3934, allocations: 25.7 kB / 0.7694 GB, free: 108 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.3935, allocations: 84.14 kB / 0.7694 GB, free: 20 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.3935, allocations: 3.953 kB / 0.7695 GB, free: 16 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.3936, allocations: 17.95 kB / 0.7695 GB, free: 15.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3937, allocations: 318.8 kB / 0.7698 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.3937, allocations: 0 / 0.7698 GB, free: 15.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.265e-05/0.3937, allocations: 4 kB / 0.7698 GB, free: 15.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.649e-05/0.3938, allocations: 12.86 kB / 0.7698 GB, free: 15.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3938, allocations: 0 / 0.7698 GB, free: 15.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.411e-05/0.3938, allocations: 45.56 kB / 0.7698 GB, free: 15.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3939, allocations: 7.938 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3939, allocations: 4.094 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3939, allocations: 4 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.394, allocations: 8 kB / 0.7699 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003794/0.3944, allocations: 0.586 MB / 0.7704 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.3945, allocations: 4 kB / 0.7704 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3945, allocations: 0 / 0.7704 GB, free: 14.96 MB / 0.545 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.859e-05/0.3946, allocations: 114.7 kB / 0.7705 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-06/0.3946, allocations: 4.031 kB / 0.7705 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.927e-05/0.3947, allocations: 48.75 kB / 0.7706 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3947, allocations: 0 / 0.7706 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3947, allocations: 0 / 0.7706 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.3947, allocations: 0 / 0.7706 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.3948, allocations: 149.6 kB / 0.7707 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3948, allocations: 3.984 kB / 0.7707 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.3949, allocations: 12 kB / 0.7708 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.3949, allocations: 4.031 kB / 0.7708 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.3949, allocations: 0 / 0.7708 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003781/0.3953, allocations: 0.5782 MB / 0.7713 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.3953, allocations: 11.88 kB / 0.7713 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.812e-05/0.3954, allocations: 69.11 kB / 0.7714 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.3955, allocations: 81.23 kB / 0.7715 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-06/0.3955, allocations: 0 / 0.7715 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.359e-05/0.3955, allocations: 0 / 0.7715 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.3955, allocations: 11.86 kB / 0.7715 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.3955, allocations: 4 kB / 0.7715 GB, free: 13.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.3956, allocations: 75.28 kB / 0.7716 GB, free: 13.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3956, allocations: 0 / 0.7716 GB, free: 13.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000193/0.3958, allocations: 11.94 kB / 0.7716 GB, free: 13.68 MB / 0.545 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.0004331/0.3962, allocations: 0.6203 MB / 0.7722 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.3964, allocations: 16 kB / 0.7722 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3964, allocations: 0 / 0.7722 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.268e-05/0.3965, allocations: 19.92 kB / 0.7722 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.3966, allocations: 12.09 kB / 0.7722 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.397, allocations: 127.7 kB / 0.7723 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.3973, allocations: 0.6843 MB / 0.773 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.401e-05/0.3974, allocations: 0 / 0.773 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.3974, allocations: 7.438 kB / 0.773 GB, free: 12.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.3974, allocations: 0 / 0.773 GB, free: 12.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.4201, allocations: 1.392 MB / 0.7744 GB, free: 10.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.1, allocations: 2.266 kB / 0.7744 GB, free: 10.93 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)