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.0007624/0.0007624, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008278/0.0008278, allocations: 217.7 kB / 22.26 MB, free: 3.699 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 1.02/1.02, allocations: 230.6 MB / 256 MB, free: 9.785 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.8095/0.8095, allocations: 203.8 MB / 0.5042 GB, free: 10.66 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.0009389/0.0009389, allocations: 71.64 kB / 0.7183 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5338, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.173/0.7068, allocations: 198.2 MB / 1.011 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008319/0.7151, allocations: 7.012 MB / 1.018 GB, free: 8.109 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009761/0.7161, allocations: 67.38 kB / 1.018 GB, free: 8.043 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.7176, allocations: 0.7064 MB / 1.019 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.7216, allocations: 2.474 MB / 1.021 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.724, allocations: 1.567 MB / 1.023 GB, free: 3.305 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002952/0.7269, allocations: 3.059 MB / 1.026 GB, free: 240 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.728, allocations: 0.7245 MB / 1.027 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.7309, allocations: 1.62 MB / 1.028 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008248/0.7317, allocations: 0.842 MB / 1.029 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.7318, allocations: 100 kB / 1.029 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.7346, allocations: 2.163 MB / 1.031 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.7348, allocations: 390.6 kB / 1.032 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.7352, allocations: 0.5791 MB / 1.032 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.7376, allocations: 2.41 MB / 1.035 GB, free: 7.391 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7376, allocations: 3.938 kB / 1.035 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7376, allocations: 0 / 1.035 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.7377, allocations: 0 / 1.035 GB, free: 7.387 MB / 0.8073 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.00211/0.7398, allocations: 1.606 MB / 1.036 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.7398, allocations: 8.031 kB / 1.036 GB, free: 5.73 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.7399, allocations: 110.5 kB / 1.036 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.7413, allocations: 0.5455 MB / 1.037 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.7426, allocations: 0.9625 MB / 1.038 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.7427, allocations: 53.31 kB / 1.038 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-05/0.7427, allocations: 68 kB / 1.038 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.7442, allocations: 1.109 MB / 1.039 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.7443, allocations: 0 / 1.039 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-05/0.7443, allocations: 35.98 kB / 1.039 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.7444, allocations: 29.31 kB / 1.039 GB, free: 2.762 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/0.746, allocations: 1.164 MB / 1.04 GB, free: 1.594 MB / 0.8073 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.003496/0.7495, allocations: 3.121 MB / 1.043 GB, free: 14.39 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009591/0.7505, allocations: 0.6489 MB / 1.044 GB, free: 13.74 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.7509, allocations: 395.4 kB / 1.044 GB, free: 13.35 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.7512, allocations: 128.3 kB / 1.044 GB, free: 13.23 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006038/0.7518, allocations: 0.5139 MB / 1.045 GB, free: 12.69 MB / 0.823 GB Notification: Performance of pre-optimization done (n=57): time 1.853e-06/0.7518, allocations: 3.938 kB / 1.045 GB, free: 12.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=57): time 0.001785/0.7536, allocations: 1.225 MB / 1.046 GB, free: 11.45 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.7537, allocations: 144.8 kB / 1.046 GB, free: 11.28 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.7551, allocations: 1.184 MB / 1.047 GB, free: 10.08 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.7551, allocations: 37.7 kB / 1.047 GB, free: 10.04 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.7554, allocations: 437.8 kB / 1.048 GB, free: 9.602 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.7555, allocations: 202.3 kB / 1.048 GB, free: 9.402 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.7556, allocations: 150.2 kB / 1.048 GB, free: 9.25 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.7557, allocations: 326 kB / 1.048 GB, free: 8.926 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/0.7564, allocations: 445 kB / 1.049 GB, free: 8.492 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007439/0.7571, allocations: 0.5902 MB / 1.049 GB, free: 7.852 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.7582, allocations: 0.9331 MB / 1.05 GB, free: 6.859 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7582, allocations: 0 / 1.05 GB, free: 6.859 MB / 0.823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001568/0.7598, allocations: 1.197 MB / 1.051 GB, free: 5.648 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.7598, allocations: 41.69 kB / 1.052 GB, free: 5.602 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7598, allocations: 12.22 kB / 1.052 GB, free: 5.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.7599, allocations: 11.94 kB / 1.052 GB, free: 5.578 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.7603, allocations: 187.7 kB / 1.052 GB, free: 5.395 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.7603, allocations: 8 kB / 1.052 GB, free: 5.387 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/0.761, allocations: 247.1 kB / 1.052 GB, free: 5.145 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.761, allocations: 35.98 kB / 1.052 GB, free: 5.109 MB / 0.823 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.0002922/0.7613, allocations: 335.2 kB / 1.052 GB, free: 4.77 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.7614, allocations: 127.2 kB / 1.052 GB, free: 4.645 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.7626, allocations: 0.9943 MB / 1.053 GB, free: 3.648 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.7626, allocations: 11.94 kB / 1.053 GB, free: 3.637 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7626, allocations: 0 / 1.053 GB, free: 3.637 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.7626, allocations: 7.984 kB / 1.053 GB, free: 3.629 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.7658, allocations: 3.134 MB / 1.056 GB, free: 356 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.7658, allocations: 8 kB / 1.056 GB, free: 348 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.7661, allocations: 124.3 kB / 1.057 GB, free: 224 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.7661, allocations: 8 kB / 1.057 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.7661, allocations: 27.98 kB / 1.057 GB, free: 188 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.7661, allocations: 15.92 kB / 1.057 GB, free: 172 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.7661, allocations: 11.98 kB / 1.057 GB, free: 160 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.7674, allocations: 1.359 MB / 1.058 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.7678, allocations: 255 kB / 1.058 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.7679, allocations: 20 kB / 1.058 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.7684, allocations: 107.8 kB / 1.058 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.7684, allocations: 63.69 kB / 1.058 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.7685, allocations: 43.97 kB / 1.058 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008085/0.7693, allocations: 0.8482 MB / 1.059 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.7693, allocations: 0 / 1.059 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007064/0.77, allocations: 299.6 kB / 1.06 GB, free: 13.05 MB / 0.8386 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.002098/0.7721, allocations: 2.129 MB / 1.062 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.7734, allocations: 0.9702 MB / 1.063 GB, free: 9.816 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7734, allocations: 4 kB / 1.063 GB, free: 9.812 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000498/0.7739, allocations: 484.2 kB / 1.063 GB, free: 9.328 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.7753, allocations: 0.5432 MB / 1.064 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.7855, allocations: 9.424 MB / 1.073 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.786, allocations: 1.073 MB / 1.074 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007422/0.7867, allocations: 267.2 kB / 1.074 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.7873, allocations: 359.3 kB / 1.074 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of SimCode: time 1.173e-06/0.7873, allocations: 0 / 1.074 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04368/0.831, allocations: 32.41 MB / 1.106 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/9.287, allocations: 7.938 kB / 1.106 GB, free: 13.14 MB / 0.8855 GB " [Timeout remaining time 651] (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: 12.544604381080717] Failed to read output from testmodel.py, exit status != 0: 9.378017592942342 9.386016776 8.646636052 Calling exit ...