Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.conf.json 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/KeyWordIO 0.11.0+X/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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) Running command: "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009453/0.0009453, allocations: 178.2 kB / 15.44 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.004967/0.004967, allocations: 0.999 MB / 17.19 MB, free: 5.676 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.296/1.296, allocations: 223.3 MB / 241.4 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007906/0.0007906, allocations: 87.7 kB / 292.8 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 8 kB / 354.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.261, allocations: 50.61 MB / 404.9 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001201/0.2622, allocations: 0.9254 MB / 405.9 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.2648, allocations: 2.018 MB / 407.9 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.128e-05/0.2648, allocations: 0 / 407.9 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.2648, allocations: 0 / 407.9 MB, free: 8.938 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readLine.mo:2:1-36:13:writable] Warning: Pure function ‘KeyWordIO.readLine‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function ‘KeyWordIO.readRealParameter‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.00095/0.2658, allocations: 348.4 kB / 408.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.355e-06/0.2658, allocations: 0 / 408.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.976e-05/0.2658, allocations: 9.5 kB / 408.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.022e-05/0.2659, allocations: 3.094 kB / 408.2 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.414e-05/0.2659, allocations: 6.906 kB / 408.2 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.266, allocations: 12.39 kB / 408.2 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.813e-06/0.266, allocations: 0 / 408.2 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005693/0.2666, allocations: 437.5 kB / 408.7 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-06/0.2666, allocations: 9.172 kB / 408.7 MB, free: 8.621 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.2666, allocations: 30.7 kB / 408.7 MB, free: 8.586 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.2671, allocations: 346 kB / 409 MB, free: 8.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2671, allocations: 0 / 409 MB, free: 8.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2671, allocations: 3.297 kB / 409 MB, free: 8.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.2671, allocations: 3.938 kB / 409.1 MB, free: 8.477 MB / 286.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.0002967/0.2674, allocations: 410 kB / 409.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2675, allocations: 7.219 kB / 409.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.2675, allocations: 108 kB / 409.6 MB, free: 7.957 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.2676, allocations: 76.22 kB / 409.6 MB, free: 7.883 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2677, allocations: 249.8 kB / 409.9 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.2677, allocations: 151.5 kB / 410 MB, free: 7.457 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.2677, allocations: 154.5 kB / 410.2 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.691e-05/0.2678, allocations: 110.7 kB / 410.3 MB, free: 7.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.2678, allocations: 76.38 kB / 410.4 MB, free: 7.117 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.2678, allocations: 150.6 kB / 410.5 MB, free: 6.969 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.2679, allocations: 154.5 kB / 410.7 MB, free: 6.816 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.2679, allocations: 151.7 kB / 410.8 MB, free: 6.668 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.2681, allocations: 454.7 kB / 411.3 MB, free: 6.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.602e-05/0.2681, allocations: 170.8 kB / 411.4 MB, free: 6.004 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.2682, allocations: 85.27 kB / 411.5 MB, free: 5.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.2682, allocations: 75.28 kB / 411.6 MB, free: 5.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.2682, allocations: 111.7 kB / 411.7 MB, free: 5.727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2682, allocations: 0 / 411.7 MB, free: 5.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.303e-05/0.2683, allocations: 31.34 kB / 411.7 MB, free: 5.691 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.2683, allocations: 127.7 kB / 411.8 MB, free: 5.555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.2684, allocations: 102.8 kB / 411.9 MB, free: 5.453 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.041e-06/0.2684, allocations: 26.58 kB / 412 MB, free: 5.422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.175e-05/0.2685, allocations: 85.14 kB / 412.1 MB, free: 5.336 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.2685, allocations: 0 / 412.1 MB, free: 5.336 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.2685, allocations: 14.23 kB / 412.1 MB, free: 5.316 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.2686, allocations: 312.5 kB / 412.4 MB, free: 5.004 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-06/0.2686, allocations: 0 / 412.4 MB, free: 5.004 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-06/0.2686, allocations: 0.9688 kB / 412.4 MB, free: 5.004 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.557e-05/0.2686, allocations: 76.08 kB / 412.4 MB, free: 4.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.2686, allocations: 76.25 kB / 412.5 MB, free: 4.855 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.929e-05/0.2687, allocations: 40.66 kB / 412.6 MB, free: 4.812 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.2687, allocations: 81.47 kB / 412.6 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.2687, allocations: 80.94 kB / 412.7 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/0.2687, allocations: 151.6 kB / 412.9 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.04e-05/0.2688, allocations: 83.83 kB / 413 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.2688, allocations: 157.3 kB / 413.1 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/0.2689, allocations: 81.02 kB / 413.2 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2689, allocations: 76.53 kB / 413.3 MB, free: 4.125 MB / 286.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 5.11e-05/0.2689, allocations: 266.9 kB / 413.5 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.269, allocations: 106.4 kB / 413.6 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.269, allocations: 111.5 kB / 413.7 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.269, allocations: 181.8 kB / 413.9 MB, free: 3.445 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.922e-05/0.2691, allocations: 182.3 kB / 414.1 MB, free: 3.262 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.2691, allocations: 182 kB / 414.3 MB, free: 3.078 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.2692, allocations: 414.7 kB / 414.7 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.2693, allocations: 103.2 kB / 414.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.2693, allocations: 106.1 kB / 414.9 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.367e-05/0.2693, allocations: 186.6 kB / 415.1 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.2693, allocations: 176.3 kB / 415.2 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.301e-05/0.2694, allocations: 190.3 kB / 415.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.593e-05/0.2694, allocations: 182 kB / 415.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.7e-05/0.2695, allocations: 306.2 kB / 415.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.2695, allocations: 180.8 kB / 416.1 MB, free: 1.148 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.2696, allocations: 191.4 kB / 416.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.2696, allocations: 101.5 kB / 416.4 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.2696, allocations: 178.9 kB / 416.5 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.2697, allocations: 106 kB / 416.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.68e-05/0.2697, allocations: 85.8 kB / 416.7 MB, free: 496 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2697, allocations: 0 / 416.7 MB, free: 496 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.2702, allocations: 130.8 kB / 416.8 MB, free: 464 kB / 286.1 MB 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 (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 Backend phase and start with SimCode phase: time 0.001166/0.2714, allocations: 1.199 MB / 418 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.13e-05/0.2714, allocations: 5.312 kB / 418 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2714, allocations: 3.938 kB / 418.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/0.2714, allocations: 1.625 kB / 418.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.2718, allocations: 0.517 MB / 418.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.273, allocations: 1.631 MB / 420.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.2732, allocations: 0.6744 MB / 420.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.367e-06/0.2732, allocations: 1.406 kB / 420.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.2733, allocations: 12.75 kB / 420.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2733, allocations: 0 / 420.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.2905, allocations: 3.742 MB / 424.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.2908, allocations: 224.3 kB / 424.9 MB, free: 12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.049, allocations: 1.062 kB / 424.9 MB, free: 12 MB / 302.1 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealParameter.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1)