Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.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(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 115.2 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006042/0.006042, allocations: 1.004 MB / 292.2 MB, free: 13.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 59.91 kB / 403.6 MB, free: 31.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07215/0.07337, allocations: 49.66 MB / 453.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001979/0.07538, allocations: 1.2 MB / 454.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.07828, allocations: 2.073 MB / 456.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.07832, allocations: 4 kB / 456.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.07834, allocations: 4 kB / 456.6 MB, free: 10.72 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001137/0.07949, allocations: 482.5 kB / 457.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.07951, allocations: 0 / 457.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.34e-05/0.07956, allocations: 15.92 kB / 457.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.0796, allocations: 0 / 457.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.772e-05/0.07962, allocations: 11.92 kB / 457.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.07973, allocations: 7.938 kB / 457.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.07975, allocations: 0 / 457.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007054/0.08046, allocations: 0.5189 MB / 457.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-06/0.08048, allocations: 7.984 kB / 457.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.0805, allocations: 11.92 kB / 457.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.08097, allocations: 375.4 kB / 458 MB, free: 9.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.08098, allocations: 0 / 458 MB, free: 9.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.08099, allocations: 0 / 458 MB, free: 9.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.081, allocations: 0 / 458 MB, free: 9.309 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003829/0.08139, allocations: 415.3 kB / 458.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.08143, allocations: 8.031 kB / 458.4 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.08149, allocations: 80.22 kB / 458.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.08165, allocations: 255.6 kB / 458.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.08171, allocations: 150.9 kB / 458.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.08177, allocations: 158.6 kB / 459 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.311e-05/0.08184, allocations: 104.9 kB / 459.1 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.08187, allocations: 75.28 kB / 459.2 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.08193, allocations: 150.6 kB / 459.4 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/0.08198, allocations: 154.6 kB / 459.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.08204, allocations: 154.6 kB / 459.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.0823, allocations: 445.9 kB / 460.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.844e-05/0.08238, allocations: 177.1 kB / 460.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.08242, allocations: 92.08 kB / 460.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.08245, allocations: 75.28 kB / 460.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.0825, allocations: 105.9 kB / 460.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.0825, allocations: 0 / 460.5 MB, free: 6.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.554e-05/0.08257, allocations: 29.7 kB / 460.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.08261, allocations: 59.33 kB / 460.6 MB, free: 6.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.08271, allocations: 109.9 kB / 460.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.08273, allocations: 29.7 kB / 460.8 MB, free: 6.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.08277, allocations: 80.14 kB / 460.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.08278, allocations: 0 / 460.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.08281, allocations: 17.7 kB / 460.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.08292, allocations: 310.8 kB / 461.2 MB, free: 5.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-06/0.08293, allocations: 0 / 461.2 MB, free: 5.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-06/0.08294, allocations: 4 kB / 461.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.08296, allocations: 75.28 kB / 461.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.136e-05/0.08299, allocations: 79.28 kB / 461.3 MB, free: 5.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.257e-05/0.08305, allocations: 29.64 kB / 461.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.08309, allocations: 83.28 kB / 461.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.08312, allocations: 79.22 kB / 461.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.556e-05/0.08318, allocations: 154.5 kB / 461.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.47e-05/0.08321, allocations: 91.2 kB / 461.7 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.968e-05/0.08327, allocations: 154.6 kB / 461.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.08334, allocations: 75.28 kB / 462 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.08337, allocations: 79.22 kB / 462 MB, free: 5.016 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 9.704e-05/0.08347, allocations: 261.1 kB / 462.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.08354, allocations: 104.9 kB / 462.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.08358, allocations: 116 kB / 462.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.423e-05/0.08364, allocations: 188.2 kB / 462.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/0.08368, allocations: 101 kB / 462.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.08375, allocations: 185.9 kB / 463 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.08382, allocations: 180.2 kB / 463.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.0839, allocations: 108.9 kB / 463.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.08396, allocations: 180.3 kB / 463.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.039e-05/0.08405, allocations: 263.5 kB / 463.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001417/0.0842, allocations: 379 kB / 464.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.832e-05/0.08425, allocations: 108.9 kB / 464.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.0843, allocations: 83.28 kB / 464.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of Backend: time 2.2e-07/0.0843, allocations: 4 kB / 464.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.08548, allocations: 494.2 kB / 464.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004679/0.08596, allocations: 0.9173 MB / 465.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of Templates: time 0.005829/0.0918, allocations: 3.07 MB / 468.7 MB, free: 14.23 MB / 350.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & ./KeyWordIO_KeyWordIO.Examples.ReadReal_m -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)