Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_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.008291/0.008297, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.001541/0.001541, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8023/0.8023, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 62.38 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1788, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002655/0.1815, allocations: 1.239 MB / 0.6604 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1827, allocations: 0.5979 MB / 0.661 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.1827, allocations: 0 / 0.661 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.1828, allocations: 0 / 0.661 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.1829, allocations: 11.91 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006839/0.1835, allocations: 141.4 kB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.961e-05/0.1836, allocations: 11.98 kB / 0.6611 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.1837, allocations: 11.94 kB / 0.6611 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.1837, allocations: 0 / 0.6611 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.251e-05/0.1838, allocations: 4 kB / 0.6611 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1838, allocations: 3.938 kB / 0.6612 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.1844, allocations: 339.4 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.1844, allocations: 0 / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.1844, allocations: 4 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.1848, allocations: 149.2 kB / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1848, allocations: 0 / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1848, allocations: 0 / 0.6616 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.1848, allocations: 3.984 kB / 0.6616 GB, free: 11.49 MB / 0.4981 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.0005193/0.1853, allocations: 355.1 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.1854, allocations: 8.031 kB / 0.662 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.1854, allocations: 34.75 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1855, allocations: 8.828 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1856, allocations: 160.4 kB / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1857, allocations: 384 / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.1857, allocations: 4.125 kB / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1858, allocations: 37.69 kB / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1858, allocations: 4 kB / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1858, allocations: 0 / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1859, allocations: 4 kB / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.704e-05/0.1859, allocations: 0 / 0.6622 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.1861, allocations: 153.7 kB / 0.6624 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.1862, allocations: 22.55 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.1862, allocations: 12.86 kB / 0.6624 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1863, allocations: 0 / 0.6624 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.1863, allocations: 34.56 kB / 0.6624 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.1863, allocations: 0 / 0.6624 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001835/0.1865, allocations: 49.62 kB / 0.6625 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.1866, allocations: 55.34 kB / 0.6625 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.1867, allocations: 101.8 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1867, allocations: 25.7 kB / 0.6626 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.1868, allocations: 80.39 kB / 0.6627 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.1868, allocations: 7.953 kB / 0.6627 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.1868, allocations: 13.72 kB / 0.6627 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.187, allocations: 318.8 kB / 0.6631 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.187, allocations: 0 / 0.6631 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.187, allocations: 4 kB / 0.6631 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.1871, allocations: 12.86 kB / 0.6631 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1871, allocations: 0 / 0.6631 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.165e-05/0.1872, allocations: 41.7 kB / 0.6631 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1872, allocations: 15.92 kB / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1872, allocations: 0 / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1872, allocations: 0 / 0.6631 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.1874, allocations: 8 kB / 0.6631 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004759/0.1879, allocations: 0.5782 MB / 0.6637 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.188, allocations: 7.938 kB / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.188, allocations: 8.062 kB / 0.6637 GB, free: 9.098 MB / 0.4981 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 8.797e-05/0.1881, allocations: 114.5 kB / 0.6638 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.1881, allocations: 0 / 0.6638 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.1882, allocations: 48.75 kB / 0.6639 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1882, allocations: 0 / 0.6639 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1883, allocations: 0 / 0.6639 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1883, allocations: 0 / 0.6639 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.1884, allocations: 149.6 kB / 0.664 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.1884, allocations: 8.031 kB / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.1885, allocations: 11.98 kB / 0.664 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1885, allocations: 0 / 0.664 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1885, allocations: 0 / 0.664 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003658/0.1889, allocations: 0.5938 MB / 0.6646 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1889, allocations: 0 / 0.6646 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.228e-05/0.189, allocations: 69.16 kB / 0.6647 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1891, allocations: 81.05 kB / 0.6647 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1891, allocations: 3.938 kB / 0.6648 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.1891, allocations: 4 kB / 0.6648 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.1891, allocations: 7.969 kB / 0.6648 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1891, allocations: 3.938 kB / 0.6648 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.1892, allocations: 75.28 kB / 0.6648 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1892, allocations: 4.125 kB / 0.6648 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002199/0.1894, allocations: 8 kB / 0.6649 GB, free: 7.797 MB / 0.4981 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.0004927/0.1899, allocations: 0.6239 MB / 0.6655 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1901, allocations: 16 kB / 0.6655 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1902, allocations: 4.094 kB / 0.6655 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.913e-05/0.1903, allocations: 11.98 kB / 0.6655 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.1904, allocations: 10.41 kB / 0.6655 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.191, allocations: 131.5 kB / 0.6656 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1913, allocations: 0.6768 MB / 0.6663 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.1913, allocations: 4.062 kB / 0.6663 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.1914, allocations: 11.44 kB / 0.6663 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.1914, allocations: 0 / 0.6663 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.221, allocations: 1.353 MB / 0.6676 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/13.91, allocations: 9.391 kB / 0.6676 GB, free: 5.07 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)