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.0009001/0.0009001, 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.001223/0.001223, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9908/0.9908, allocations: 230.6 MB / 256 MB, free: 9.594 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.8074/0.8074, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.0009806/0.0009806, allocations: 66.67 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.5699, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1548/0.7246, allocations: 171.9 MB / 0.9857 GB, free: 9.129 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00793/0.7326, allocations: 6.592 MB / 0.9922 GB, free: 2.527 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008508/0.7334, allocations: 67.38 kB / 0.9922 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.7347, allocations: 0.6909 MB / 0.9929 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003952/0.7387, allocations: 2.408 MB / 0.9952 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.741, allocations: 1.533 MB / 0.9967 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002556/0.7435, allocations: 3.021 MB / 0.9997 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.7445, allocations: 0.7011 MB / 1 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.7477, allocations: 1.647 MB / 1.002 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009268/0.7486, allocations: 0.7981 MB / 1.003 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.7487, allocations: 100 kB / 1.003 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002585/0.7513, allocations: 1.656 MB / 1.004 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.7516, allocations: 378.7 kB / 1.005 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.7519, allocations: 481.7 kB / 1.005 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.7542, allocations: 2.344 MB / 1.008 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7542, allocations: 0 / 1.008 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7542, allocations: 0 / 1.008 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.7542, allocations: 4 kB / 1.008 GB, free: 2.691 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.002138/0.7563, allocations: 1.598 MB / 1.009 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.7564, allocations: 11.97 kB / 1.009 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.7565, allocations: 114.5 kB / 1.009 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.7579, allocations: 0.5377 MB / 1.01 GB, free: 388 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.7594, allocations: 0.9694 MB / 1.011 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.7594, allocations: 53.31 kB / 1.011 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.7595, allocations: 71.98 kB / 1.011 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.7609, allocations: 1.246 MB / 1.012 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.7609, allocations: 4 kB / 1.012 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.761, allocations: 24 kB / 1.012 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/0.761, allocations: 37.28 kB / 1.012 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.7627, allocations: 1.189 MB / 1.013 GB, free: 12.7 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.003253/0.7659, allocations: 2.879 MB / 1.016 GB, free: 9.742 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.7669, allocations: 0.674 MB / 1.017 GB, free: 9.055 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/0.7673, allocations: 425.5 kB / 1.017 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002694/0.7676, allocations: 128.4 kB / 1.017 GB, free: 8.508 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006414/0.7683, allocations: 0.6511 MB / 1.018 GB, free: 7.801 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=57): time 1.463e-06/0.7683, allocations: 0 / 1.018 GB, free: 7.801 MB / 0.7917 GB Notification: Performance of matching and sorting (n=57): time 0.001692/0.7699, allocations: 1.287 MB / 1.019 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.77, allocations: 148.8 kB / 1.019 GB, free: 6.316 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.7711, allocations: 1.188 MB / 1.02 GB, free: 5.113 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.7711, allocations: 37.7 kB / 1.021 GB, free: 5.07 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.7715, allocations: 441.8 kB / 1.021 GB, free: 4.633 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.7716, allocations: 198.3 kB / 1.021 GB, free: 4.438 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.7717, allocations: 154.2 kB / 1.021 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.7718, allocations: 322 kB / 1.022 GB, free: 3.961 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006482/0.7725, allocations: 478.7 kB / 1.022 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008345/0.7733, allocations: 0.9823 MB / 1.023 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.7744, allocations: 0.9331 MB / 1.024 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.7744, allocations: 0 / 1.024 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001593/0.776, allocations: 1.238 MB / 1.025 GB, free: 116 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/0.776, allocations: 41.69 kB / 1.025 GB, free: 68 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.776, allocations: 7.984 kB / 1.025 GB, free: 60 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.776, allocations: 4 kB / 1.025 GB, free: 56 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.7765, allocations: 192 kB / 1.025 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.7765, allocations: 11.94 kB / 1.025 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/0.7772, allocations: 247.1 kB / 1.026 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.7772, allocations: 31.98 kB / 1.026 GB, free: 15.58 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.0002868/0.7775, allocations: 331.2 kB / 1.026 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.7776, allocations: 119.2 kB / 1.026 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.7788, allocations: 1.027 MB / 1.027 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.7788, allocations: 11.98 kB / 1.027 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7788, allocations: 3.938 kB / 1.027 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.7788, allocations: 0 / 1.027 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/0.7817, allocations: 3.014 MB / 1.03 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.7817, allocations: 4 kB / 1.03 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.782, allocations: 120.2 kB / 1.03 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.782, allocations: 15.94 kB / 1.03 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.782, allocations: 23.98 kB / 1.03 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.782, allocations: 15.94 kB / 1.03 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.782, allocations: 8 kB / 1.03 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.7832, allocations: 1.388 MB / 1.032 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.7835, allocations: 262.8 kB / 1.032 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-05/0.7836, allocations: 27.98 kB / 1.032 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005175/0.7841, allocations: 99.91 kB / 1.032 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.7842, allocations: 67.67 kB / 1.032 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/0.7843, allocations: 39.97 kB / 1.032 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0008154/0.7851, allocations: 0.8521 MB / 1.033 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7851, allocations: 0 / 1.033 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006757/0.7858, allocations: 299.6 kB / 1.033 GB, free: 7.566 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.001874/0.7876, allocations: 2.15 MB / 1.035 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.7889, allocations: 1.042 MB / 1.036 GB, free: 4.227 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7889, allocations: 4 kB / 1.036 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.7894, allocations: 0.5064 MB / 1.037 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.7909, allocations: 0.5519 MB / 1.037 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009547/0.8004, allocations: 9.592 MB / 1.047 GB, free: 9.152 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.8007, allocations: 482.6 kB / 1.047 GB, free: 8.648 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006928/0.8014, allocations: 277.9 kB / 1.047 GB, free: 8.383 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.8018, allocations: 359.3 kB / 1.048 GB, free: 8.031 MB / 0.823 GB Notification: Performance of SimCode: time 6.41e-07/0.8018, allocations: 0 / 1.048 GB, free: 8.031 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.8414, allocations: 34.53 MB / 1.081 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/8.149, allocations: 8 kB / 1.081 GB, free: 5.965 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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.282004598993808] Failed to read output from testmodel.py, exit status != 0: 8.241393658798188 8.249450033 7.493547598 Calling exit ...