Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001383/0.001383, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001601/0.001601, allocations: 189.5 kB / 22.23 MB, free: 5.105 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.482/1.482, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.124/1.124, allocations: 177.9 MB / 484.2 MB, free: 5.387 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 65.23 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6096/0.6116, allocations: 95.17 MB / 0.7669 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005943/0.6176, allocations: 4.62 MB / 0.7714 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.6187, allocations: 0.8185 MB / 0.7722 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.399e-05/0.6188, allocations: 0.9375 kB / 0.7722 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.619, allocations: 33.45 kB / 0.7723 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.619, allocations: 39.14 kB / 0.7723 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.6196, allocations: 171.2 kB / 0.7725 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.6198, allocations: 175.7 kB / 0.7726 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.6199, allocations: 12.73 kB / 0.7727 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.6201, allocations: 86.48 kB / 0.7727 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.6202, allocations: 75.2 kB / 0.7728 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.6202, allocations: 13.31 kB / 0.7728 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.6206, allocations: 160.9 kB / 0.773 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.6206, allocations: 27.55 kB / 0.773 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.296e-05/0.6207, allocations: 71.5 kB / 0.7731 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.6211, allocations: 246.3 kB / 0.7733 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6211, allocations: 1.281 kB / 0.7733 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6211, allocations: 0 / 0.7733 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.6211, allocations: 0 / 0.7733 GB, free: 3.918 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000857/0.622, allocations: 412 kB / 0.7737 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.622, allocations: 8.375 kB / 0.7737 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.6221, allocations: 15.5 kB / 0.7737 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.6222, allocations: 125.2 kB / 0.7738 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.6222, allocations: 12.94 kB / 0.7738 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.6222, allocations: 15.47 kB / 0.7739 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.6226, allocations: 122.3 kB / 0.774 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.6226, allocations: 0.9375 kB / 0.774 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.6226, allocations: 4.969 kB / 0.774 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6226, allocations: 1.656 kB / 0.774 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.623, allocations: 145.6 kB / 0.7741 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009637/0.624, allocations: 426.8 kB / 0.7745 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.6243, allocations: 123.1 kB / 0.7747 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.6245, allocations: 64.08 kB / 0.7747 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/0.6257, allocations: 0.4936 MB / 0.7752 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.6258, allocations: 40.17 kB / 0.7752 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.6258, allocations: 0 / 0.7752 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0007543/0.6265, allocations: 204.8 kB / 0.7754 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.6266, allocations: 61.75 kB / 0.7755 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.6267, allocations: 171.5 kB / 0.7757 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.6267, allocations: 27.72 kB / 0.7757 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.6268, allocations: 115.9 kB / 0.7758 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.6268, allocations: 40.69 kB / 0.7758 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.6269, allocations: 52.62 kB / 0.7759 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.627, allocations: 322.4 kB / 0.7762 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.6272, allocations: 79.44 kB / 0.7763 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.6275, allocations: 103.5 kB / 0.7764 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.6279, allocations: 176.3 kB / 0.7765 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6279, allocations: 0.5 kB / 0.7765 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006483/0.6286, allocations: 249 kB / 0.7768 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.6286, allocations: 10.56 kB / 0.7768 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6286, allocations: 1.25 kB / 0.7768 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.6286, allocations: 5.547 kB / 0.7768 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.6289, allocations: 54.92 kB / 0.7768 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.6289, allocations: 2.75 kB / 0.7768 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.6291, allocations: 31.34 kB / 0.7769 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.6292, allocations: 11.12 kB / 0.7769 GB, free: 1.457 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 8.761e-05/0.6292, allocations: 124 kB / 0.777 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.6293, allocations: 21.53 kB / 0.777 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005457/0.6298, allocations: 173.2 kB / 0.7772 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.6298, allocations: 1.656 kB / 0.7772 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6298, allocations: 0 / 0.7772 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6298, allocations: 8.594 kB / 0.7772 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.6301, allocations: 186.2 kB / 0.7774 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6301, allocations: 5.281 kB / 0.7774 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.6302, allocations: 36.55 kB / 0.7774 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6302, allocations: 0.7812 kB / 0.7774 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.6302, allocations: 0.8438 kB / 0.7774 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6302, allocations: 1.375 kB / 0.7774 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.6302, allocations: 1 kB / 0.7774 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.6307, allocations: 261 kB / 0.7777 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.6308, allocations: 29.47 kB / 0.7777 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.6308, allocations: 9.812 kB / 0.7777 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.631, allocations: 12.61 kB / 0.7777 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.631, allocations: 11.94 kB / 0.7777 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.631, allocations: 2.031 kB / 0.7777 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.06e-05/0.6311, allocations: 116.6 kB / 0.7778 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6311, allocations: 4 kB / 0.7778 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003839/0.6315, allocations: 58.86 kB / 0.7779 GB, free: 0.7344 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003187/0.6318, allocations: 161.9 kB / 0.778 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005816/0.6324, allocations: 161.6 kB / 0.7782 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6324, allocations: 0 / 0.7782 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.6326, allocations: 61.89 kB / 0.7783 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.633, allocations: 23.44 kB / 0.7783 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.6335, allocations: 249.9 kB / 0.7785 GB, free: 388 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.6338, allocations: 0.705 MB / 0.7792 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.617e-05/0.6339, allocations: 20.97 kB / 0.7792 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.6339, allocations: 20.27 kB / 0.7793 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.6339, allocations: 4 kB / 0.7793 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.007669/0.6416, allocations: 2.814 MB / 0.782 GB, free: 15.35 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.624081679619849] Failed to read output from testmodel.py, exit status != 0: 0.6507953880354762 0.679210762 0.052210247 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc1f6e8d7b0>