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.0009455/0.0009455, allocations: 115 kB / 19.7 MB, free: 0.5273 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.001092/0.001092, allocations: 207.8 kB / 23.01 MB, free: 3.121 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.9548/0.9548, allocations: 230.6 MB / 256.8 MB, free: 3.469 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.7522/0.7522, allocations: 203.8 MB / 0.5049 GB, free: 0.7031 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: translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [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.0009485/0.0009485, allocations: 63.91 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5428/0.5438, allocations: 102 MB / 0.8191 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1644/0.7082, allocations: 198.2 MB / 1.013 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008281/0.7165, allocations: 7.015 MB / 1.019 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.7178, allocations: 63.44 kB / 1.02 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.7195, allocations: 0.7103 MB / 1.02 GB, free: 4.43 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.7242, allocations: 2.478 MB / 1.023 GB, free: 1.941 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.727, allocations: 1.579 MB / 1.024 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003474/0.7305, allocations: 3.054 MB / 1.027 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.7317, allocations: 0.7167 MB / 1.028 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.7348, allocations: 1.63 MB / 1.029 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.7359, allocations: 0.8304 MB / 1.03 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.7361, allocations: 104 kB / 1.03 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.7391, allocations: 2.171 MB / 1.032 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.7394, allocations: 382.6 kB / 1.033 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0005122/0.7399, allocations: 0.5869 MB / 1.033 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.743, allocations: 2.402 MB / 1.036 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.743, allocations: 4 kB / 1.036 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.823e-06/0.743, allocations: 0 / 1.036 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.743, allocations: 0 / 1.036 GB, free: 4.484 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.002236/0.7453, allocations: 1.59 MB / 1.037 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.7453, allocations: 9.469 kB / 1.037 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.7469, allocations: 0.5455 MB / 1.038 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.7483, allocations: 0.9703 MB / 1.039 GB, free: 1.297 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/0.7483, allocations: 53.31 kB / 1.039 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.7484, allocations: 64 kB / 1.039 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.7498, allocations: 1.105 MB / 1.04 GB, free: 56 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.7498, allocations: 7.922 kB / 1.04 GB, free: 48 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.836e-05/0.7499, allocations: 28 kB / 1.04 GB, free: 20 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-05/0.7499, allocations: 37.34 kB / 1.04 GB, free: 15.98 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.7518, allocations: 1.164 MB / 1.041 GB, free: 14.82 MB / 0.823 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.003309/0.7551, allocations: 3.121 MB / 1.044 GB, free: 11.62 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009628/0.7561, allocations: 0.6489 MB / 1.045 GB, free: 10.96 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.7566, allocations: 394.1 kB / 1.045 GB, free: 10.57 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002916/0.7568, allocations: 136.3 kB / 1.045 GB, free: 10.44 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006091/0.7575, allocations: 0.51 MB / 1.046 GB, free: 9.906 MB / 0.823 GB Notification: Performance of pre-optimization done (n=57): time 1.673e-06/0.7575, allocations: 3.938 kB / 1.046 GB, free: 9.902 MB / 0.823 GB Notification: Performance of matching and sorting (n=57): time 0.001718/0.7592, allocations: 1.229 MB / 1.047 GB, free: 8.668 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.7592, allocations: 144.8 kB / 1.047 GB, free: 8.496 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.7607, allocations: 1.172 MB / 1.048 GB, free: 7.309 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.7608, allocations: 37.7 kB / 1.048 GB, free: 7.266 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.761, allocations: 453.8 kB / 1.049 GB, free: 6.816 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.7612, allocations: 198.3 kB / 1.049 GB, free: 6.621 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.7613, allocations: 142.2 kB / 1.049 GB, free: 6.477 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.7614, allocations: 334 kB / 1.049 GB, free: 6.145 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/0.762, allocations: 437 kB / 1.05 GB, free: 5.719 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/0.7628, allocations: 0.598 MB / 1.05 GB, free: 5.07 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.7639, allocations: 0.9296 MB / 1.051 GB, free: 4.082 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7639, allocations: 0 / 1.051 GB, free: 4.082 MB / 0.823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001655/0.7655, allocations: 1.208 MB / 1.053 GB, free: 2.859 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.7656, allocations: 37.64 kB / 1.053 GB, free: 2.816 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.7656, allocations: 4 kB / 1.053 GB, free: 2.812 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.7656, allocations: 7.984 kB / 1.053 GB, free: 2.805 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.766, allocations: 192 kB / 1.053 GB, free: 2.617 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.766, allocations: 7.938 kB / 1.053 GB, free: 2.609 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007334/0.7668, allocations: 249.7 kB / 1.053 GB, free: 2.367 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.7668, allocations: 39.97 kB / 1.053 GB, free: 2.328 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.0003826/0.7672, allocations: 324.2 kB / 1.053 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.7673, allocations: 123.2 kB / 1.054 GB, free: 1.875 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.7686, allocations: 0.9996 MB / 1.055 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.7686, allocations: 8 kB / 1.055 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7686, allocations: 7.938 kB / 1.055 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.7686, allocations: 7.984 kB / 1.055 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/0.7718, allocations: 3.132 MB / 1.058 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.7718, allocations: 4 kB / 1.058 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.772, allocations: 124 kB / 1.058 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.772, allocations: 15.94 kB / 1.058 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.7721, allocations: 23.98 kB / 1.058 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.7721, allocations: 15.94 kB / 1.058 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.7721, allocations: 8 kB / 1.058 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.7734, allocations: 1.359 MB / 1.059 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.7737, allocations: 255 kB / 1.059 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.7738, allocations: 23.94 kB / 1.059 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005175/0.7743, allocations: 99.91 kB / 1.059 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7745, allocations: 67.67 kB / 1.06 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.7745, allocations: 39.97 kB / 1.06 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009986/0.7755, allocations: 0.8443 MB / 1.06 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7755, allocations: 0 / 1.06 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009041/0.7764, allocations: 303.6 kB / 1.061 GB, free: 10.28 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.0005405/0.777, allocations: 332.4 kB / 1.061 GB, free: 9.953 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.7786, allocations: 0.9665 MB / 1.062 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.7786, allocations: 12.06 kB / 1.062 GB, free: 8.957 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.7791, allocations: 485.8 kB / 1.062 GB, free: 8.473 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.7806, allocations: 0.5528 MB / 1.063 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.783, allocations: 2.103 MB / 1.065 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.7834, allocations: 1.065 MB / 1.066 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.7837, allocations: 95.39 kB / 1.066 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of SimCode: time 1.183e-06/0.7837, allocations: 0 / 1.066 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of Templates: time 0.02049/0.8042, allocations: 18.87 MB / 1.085 GB, free: 1.789 MB / 0.8542 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.222663718042895] Failed to read output from testmodel.py, exit status != 0: 0.8107859219890088 0.818721484 0.073772289 Calling exit ...