Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007778/0.0007778, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9417/0.9417, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7708/0.7708, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 62.94 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5222, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1517/0.6739, allocations: 171.9 MB / 0.9857 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007492/0.6814, allocations: 6.592 MB / 0.9922 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007575/0.6822, allocations: 63.38 kB / 0.9922 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.6834, allocations: 0.6948 MB / 0.9929 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003482/0.6869, allocations: 2.412 MB / 0.9953 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.6891, allocations: 1.525 MB / 0.9967 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002426/0.6915, allocations: 3.025 MB / 0.9997 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007484/0.6922, allocations: 0.7011 MB / 1 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.6946, allocations: 1.648 MB / 1.002 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007895/0.6954, allocations: 0.8019 MB / 1.003 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.6956, allocations: 100 kB / 1.003 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.6979, allocations: 1.648 MB / 1.004 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.6982, allocations: 390.6 kB / 1.005 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003351/0.6985, allocations: 477.7 kB / 1.005 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.7006, allocations: 2.344 MB / 1.008 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.7006, allocations: 0 / 1.008 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7006, allocations: 0 / 1.008 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.7006, allocations: 0 / 1.008 GB, free: 2.723 MB / 0.7761 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.002385/0.703, allocations: 1.606 MB / 1.009 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7031, allocations: 8.031 kB / 1.009 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.7032, allocations: 114.5 kB / 1.009 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.7046, allocations: 0.5377 MB / 1.01 GB, free: 416 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.7061, allocations: 0.9586 MB / 1.011 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.7061, allocations: 61.31 kB / 1.011 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.7062, allocations: 68 kB / 1.011 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.7076, allocations: 1.238 MB / 1.012 GB, free: 14 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.7077, allocations: 0 / 1.012 GB, free: 14 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.7077, allocations: 35.94 kB / 1.012 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.7077, allocations: 37.3 kB / 1.012 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.7095, allocations: 1.19 MB / 1.013 GB, free: 12.73 MB / 0.7917 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.7126, allocations: 2.875 MB / 1.016 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.7137, allocations: 0.674 MB / 1.017 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.7142, allocations: 423.8 kB / 1.017 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.7144, allocations: 132.3 kB / 1.017 GB, free: 8.539 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006365/0.7151, allocations: 0.6511 MB / 1.018 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=57): time 1.663e-06/0.7151, allocations: 3.938 kB / 1.018 GB, free: 7.828 MB / 0.7917 GB Notification: Performance of matching and sorting (n=57): time 0.001672/0.7168, allocations: 1.291 MB / 1.019 GB, free: 6.516 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.7168, allocations: 140.8 kB / 1.019 GB, free: 6.348 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.7179, allocations: 1.192 MB / 1.02 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.718, allocations: 37.7 kB / 1.021 GB, free: 5.098 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.7182, allocations: 437.8 kB / 1.021 GB, free: 4.664 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.7183, allocations: 206.2 kB / 1.021 GB, free: 4.461 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.7185, allocations: 150.2 kB / 1.021 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.7186, allocations: 326 kB / 1.022 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.7192, allocations: 478.6 kB / 1.022 GB, free: 3.512 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008674/0.7201, allocations: 0.9745 MB / 1.023 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.7215, allocations: 0.937 MB / 1.024 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.7215, allocations: 0 / 1.024 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001628/0.7231, allocations: 1.237 MB / 1.025 GB, free: 144 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.7231, allocations: 44.03 kB / 1.025 GB, free: 96 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.7231, allocations: 4 kB / 1.025 GB, free: 92 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.7232, allocations: 4 kB / 1.025 GB, free: 88 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.7236, allocations: 188 kB / 1.025 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.7236, allocations: 11.94 kB / 1.025 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.7243, allocations: 247.1 kB / 1.026 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.7244, allocations: 39.98 kB / 1.026 GB, free: 15.61 MB / 0.8073 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.000352/0.7247, allocations: 327.2 kB / 1.026 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.7249, allocations: 119.2 kB / 1.026 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.7262, allocations: 1.038 MB / 1.027 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.7262, allocations: 8 kB / 1.027 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.7262, allocations: 3.938 kB / 1.027 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.7262, allocations: 3.984 kB / 1.027 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.7292, allocations: 2.996 MB / 1.03 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.7293, allocations: 12 kB / 1.03 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.7295, allocations: 124 kB / 1.03 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.7296, allocations: 8 kB / 1.03 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.7296, allocations: 31.92 kB / 1.03 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.367e-05/0.7296, allocations: 19.92 kB / 1.03 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.7296, allocations: 11.94 kB / 1.03 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.7312, allocations: 1.392 MB / 1.032 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/0.7315, allocations: 258.9 kB / 1.032 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/0.7316, allocations: 23.98 kB / 1.032 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.7321, allocations: 99.91 kB / 1.032 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.748e-05/0.7322, allocations: 67.67 kB / 1.032 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.7323, allocations: 39.97 kB / 1.032 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0008588/0.7331, allocations: 0.8443 MB / 1.033 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.61e-07/0.7331, allocations: 8 kB / 1.033 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007182/0.7338, allocations: 299.6 kB / 1.033 GB, free: 7.594 MB / 0.8073 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.001904/0.7358, allocations: 2.148 MB / 1.035 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.7371, allocations: 1.04 MB / 1.036 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7371, allocations: 0 / 1.036 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.7376, allocations: 0.5088 MB / 1.037 GB, free: 3.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.739, allocations: 0.5518 MB / 1.037 GB, free: 3.207 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009821/0.7489, allocations: 9.596 MB / 1.047 GB, free: 9.18 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.7492, allocations: 482.6 kB / 1.047 GB, free: 8.676 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006422/0.7498, allocations: 273.9 kB / 1.047 GB, free: 8.41 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.7502, allocations: 363.3 kB / 1.048 GB, free: 8.055 MB / 0.823 GB Notification: Performance of SimCode: time 1.392e-06/0.7502, allocations: 0 / 1.048 GB, free: 8.055 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04079/0.791, allocations: 34.53 MB / 1.081 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/8.021, allocations: 9.344 kB / 1.081 GB, free: 6.008 MB / 0.8542 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.033416794147342] Failed to read output from testmodel.py, exit status != 0: 8.11177771911025 8.123629504 7.420927795 Calling exit ...