Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 109.7 kB / 16.41 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8264/0.8264, allocations: 132.2 MB / 429.4 MB, free: 5.969 MB / 334.1 MB " [Timeout remaining time 179] 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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 65.14 kB / 0.5894 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.149, allocations: 80.21 MB / 0.6677 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5596/0.7086, allocations: 194 MB / 0.8572 GB, free: 204 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.7197, allocations: 6.911 MB / 0.8639 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.7217, allocations: 47 kB / 0.864 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.7237, allocations: 0.6943 MB / 0.8646 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006028/0.7298, allocations: 2.33 MB / 0.8669 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003565/0.7334, allocations: 1.429 MB / 0.8683 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004201/0.7376, allocations: 2.982 MB / 0.8712 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.7391, allocations: 0.9039 MB / 0.8721 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.742, allocations: 1.138 MB / 0.8732 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.7434, allocations: 0.7943 MB / 0.874 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.7436, allocations: 100 kB / 0.8741 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004034/0.7477, allocations: 2.058 MB / 0.8761 GB, free: 436 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004652/0.7482, allocations: 370.8 kB / 0.8764 GB, free: 64 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007964/0.749, allocations: 0.5831 MB / 0.877 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004144/0.7531, allocations: 2.432 MB / 0.8794 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.7532, allocations: 0 / 0.8794 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.444e-06/0.7532, allocations: 0 / 0.8794 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.35e-05/0.7532, allocations: 0 / 0.8794 GB, free: 13.04 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003509/0.7567, allocations: 1.684 MB / 0.881 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7568, allocations: 8.031 kB / 0.881 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001634/0.7569, allocations: 118.5 kB / 0.8812 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.7599, allocations: 0.5338 MB / 0.8817 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.7622, allocations: 1.058 MB / 0.8827 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.7622, allocations: 49.31 kB / 0.8828 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.7624, allocations: 72 kB / 0.8828 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.7649, allocations: 1.101 MB / 0.8839 GB, free: 8.277 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.7649, allocations: 7.984 kB / 0.8839 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.765, allocations: 27.98 kB / 0.8839 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.7651, allocations: 37.3 kB / 0.884 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/0.7682, allocations: 1.16 MB / 0.8851 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006001/0.7742, allocations: 3.167 MB / 0.8882 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.7761, allocations: 0.6802 MB / 0.8889 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008621/0.777, allocations: 434 kB / 0.8893 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.778, allocations: 1.021 MB / 0.8903 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.7792, allocations: 0.5104 MB / 0.8908 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.995e-06/0.7792, allocations: 0 / 0.8908 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.003239/0.7824, allocations: 1.241 MB / 0.892 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.258e-05/0.7825, allocations: 136.9 kB / 0.8921 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.7846, allocations: 1.172 MB / 0.8933 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.7848, allocations: 37.7 kB / 0.8933 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.7852, allocations: 445.8 kB / 0.8937 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.7855, allocations: 206.3 kB / 0.8939 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002963/0.7858, allocations: 138.2 kB / 0.894 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.7859, allocations: 326 kB / 0.8944 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.7872, allocations: 444.9 kB / 0.8948 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.7887, allocations: 0.6001 MB / 0.8954 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.7908, allocations: 0.9227 MB / 0.8963 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.7909, allocations: 3.938 kB / 0.8963 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003386/0.7943, allocations: 1.21 MB / 0.8975 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.7944, allocations: 41.7 kB / 0.8975 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.7944, allocations: 0 / 0.8975 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/0.7944, allocations: 16.16 kB / 0.8975 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009403/0.7954, allocations: 187.8 kB / 0.8977 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.7954, allocations: 9.344 kB / 0.8977 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.797, allocations: 247.1 kB / 0.8979 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.7971, allocations: 39.97 kB / 0.898 GB, free: 9.328 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005846/0.7977, allocations: 325.9 kB / 0.8983 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.798, allocations: 123.2 kB / 0.8984 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/0.8004, allocations: 1 MB / 0.8994 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.8004, allocations: 7.984 kB / 0.8994 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.8004, allocations: 8 kB / 0.8994 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.8005, allocations: 0 / 0.8994 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005449/0.8059, allocations: 3.154 MB / 0.9025 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.8059, allocations: 8 kB / 0.9025 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/0.8065, allocations: 124.1 kB / 0.9026 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/0.8066, allocations: 8 kB / 0.9026 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.8066, allocations: 27.98 kB / 0.9026 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.8067, allocations: 8 kB / 0.9026 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/0.8067, allocations: 11.94 kB / 0.9027 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.809, allocations: 1.35 MB / 0.904 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/0.8096, allocations: 339.9 kB / 0.9043 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.8098, allocations: 23.98 kB / 0.9043 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.8109, allocations: 99.91 kB / 0.9044 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.8111, allocations: 63.7 kB / 0.9045 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.831e-05/0.8112, allocations: 39.97 kB / 0.9045 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001568/0.8127, allocations: 0.8482 MB / 0.9053 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8128, allocations: 0 / 0.9053 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001087/0.8138, allocations: 307.6 kB / 0.9056 GB, free: 1.164 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003344/0.8172, allocations: 2.128 MB / 0.9077 GB, free: 14.92 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.8197, allocations: 1.017 MB / 0.9087 GB, free: 13.89 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.8198, allocations: 4 kB / 0.9087 GB, free: 13.89 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.8208, allocations: 0.5163 MB / 0.9092 GB, free: 13.36 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/0.8236, allocations: 0.5504 MB / 0.9097 GB, free: 12.85 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/0.8413, allocations: 9.411 MB / 0.9189 GB, free: 3.031 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/0.8422, allocations: 1.069 MB / 0.92 GB, free: 1.934 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001083/0.8433, allocations: 279.5 kB / 0.9202 GB, free: 1.66 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005769/0.8439, allocations: 355.3 kB / 0.9206 GB, free: 1.312 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/0.8439, allocations: 3.938 kB / 0.9206 GB, free: 1.309 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06963/0.9135, allocations: 31.76 MB / 0.9516 GB, free: 1.852 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.96, allocations: 4.688 kB / 0.9516 GB, free: 1.852 MB / 0.7012 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.553149873041548] Failed to read output from testmodel.py, exit status != 0: 11.051874427008443 11.064605928 10.309042428 Calling exit ...