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/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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008831/0.0008832, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005376/0.005376, allocations: 0.9966 MB / 292.1 MB, free: 1.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003164, allocations: 11.98 kB / 353.3 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2554, allocations: 50.63 MB / 403.9 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001344/0.2568, allocations: 0.9166 MB / 404.8 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.2595, allocations: 1.869 MB / 406.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.2595, allocations: 2.188 kB / 406.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.2595, allocations: 0.7969 kB / 406.7 MB, free: 9.008 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.001032/0.2606, allocations: 349 kB / 407 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.2606, allocations: 0 / 407 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.73e-05/0.2606, allocations: 8.859 kB / 407.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.2607, allocations: 0.6562 kB / 407.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.591e-05/0.2607, allocations: 6.875 kB / 407.1 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.261, allocations: 12.89 kB / 407.1 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.2611, allocations: 0 / 407.1 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.2617, allocations: 413.2 kB / 407.5 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-06/0.2618, allocations: 1.188 kB / 407.5 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.259e-05/0.2618, allocations: 25.7 kB / 407.5 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.2621, allocations: 234.2 kB / 407.7 MB, free: 8.617 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2621, allocations: 1.078 kB / 407.7 MB, free: 8.617 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2621, allocations: 4.906 kB / 407.7 MB, free: 8.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2621, allocations: 0 / 407.7 MB, free: 8.613 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.0003148/0.2624, allocations: 409.1 kB / 408.1 MB, free: 8.207 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2625, allocations: 9.375 kB / 408.1 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.2625, allocations: 107.9 kB / 408.3 MB, free: 8.094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.2626, allocations: 76.34 kB / 408.3 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2627, allocations: 242.5 kB / 408.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.2627, allocations: 152.6 kB / 408.7 MB, free: 7.598 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.2627, allocations: 158.6 kB / 408.9 MB, free: 7.441 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.842e-05/0.2628, allocations: 106 kB / 409 MB, free: 7.332 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2628, allocations: 75.28 kB / 409 MB, free: 7.258 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.2628, allocations: 153.7 kB / 409.2 MB, free: 7.109 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.2628, allocations: 154.5 kB / 409.3 MB, free: 6.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/0.2629, allocations: 151.6 kB / 409.5 MB, free: 6.809 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.263, allocations: 450 kB / 409.9 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.944e-05/0.2631, allocations: 167.9 kB / 410.1 MB, free: 6.152 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.2631, allocations: 80.14 kB / 410.2 MB, free: 6.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.2631, allocations: 79.22 kB / 410.3 MB, free: 5.992 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.2631, allocations: 115.9 kB / 410.4 MB, free: 5.871 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2631, allocations: 0 / 410.4 MB, free: 5.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.526e-05/0.2632, allocations: 27.3 kB / 410.4 MB, free: 5.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2632, allocations: 133 kB / 410.5 MB, free: 5.699 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.2633, allocations: 98.38 kB / 410.6 MB, free: 5.602 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.109e-06/0.2633, allocations: 26.67 kB / 410.6 MB, free: 5.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.716e-05/0.2634, allocations: 85.31 kB / 410.7 MB, free: 5.484 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.2634, allocations: 8.938 kB / 410.7 MB, free: 5.477 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-07/0.2634, allocations: 0 / 410.7 MB, free: 5.477 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.878e-05/0.2634, allocations: 312.6 kB / 411 MB, free: 5.164 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.066e-06/0.2634, allocations: 0 / 411 MB, free: 5.164 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.2634, allocations: 7.969 kB / 411.1 MB, free: 5.156 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.219e-05/0.2635, allocations: 76.44 kB / 411.1 MB, free: 5.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.2635, allocations: 75.28 kB / 411.2 MB, free: 5.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.862e-05/0.2635, allocations: 30.59 kB / 411.2 MB, free: 4.977 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2636, allocations: 83.62 kB / 411.3 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.2636, allocations: 85.09 kB / 411.4 MB, free: 4.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.2636, allocations: 163.5 kB / 411.6 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.598e-06/0.2636, allocations: 76.94 kB / 411.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/0.2636, allocations: 156.4 kB / 411.8 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.2637, allocations: 76.53 kB / 411.9 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2637, allocations: 76.08 kB / 411.9 MB, free: 4.281 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.2638, allocations: 266.9 kB / 412.2 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.2638, allocations: 103.1 kB / 412.3 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.2638, allocations: 112.6 kB / 412.4 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.2639, allocations: 185.3 kB / 412.6 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.437e-05/0.2639, allocations: 177.5 kB / 412.8 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.2639, allocations: 186.5 kB / 412.9 MB, free: 3.234 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.2641, allocations: 405.6 kB / 413.3 MB, free: 2.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.2641, allocations: 102.8 kB / 413.4 MB, free: 2.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.2641, allocations: 106.2 kB / 413.5 MB, free: 2.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.698e-05/0.2641, allocations: 178.2 kB / 413.7 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.2642, allocations: 185.7 kB / 413.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.597e-05/0.2642, allocations: 180.3 kB / 414.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-05/0.2642, allocations: 190.3 kB / 414.3 MB, free: 1.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.112e-05/0.2643, allocations: 301.6 kB / 414.5 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.2643, allocations: 189 kB / 414.7 MB, free: 1.312 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.2644, allocations: 182.5 kB / 414.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/0.2644, allocations: 102.5 kB / 415 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.2645, allocations: 186 kB / 415.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.2645, allocations: 102.5 kB / 415.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.664e-05/0.2645, allocations: 85.62 kB / 415.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2645, allocations: 0 / 415.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004476/0.265, allocations: 134 kB / 415.5 MB, free: 0.6172 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001101/0.2661, allocations: 1.196 MB / 416.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.969e-05/0.2661, allocations: 1.094 kB / 416.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2661, allocations: 0 / 416.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.2662, allocations: 1.672 kB / 416.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.2665, allocations: 0.5212 MB / 417.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.2672, allocations: 0.5841 MB / 417.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.2674, allocations: 0.6732 MB / 418.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.008e-05/0.2674, allocations: 1.969 kB / 418.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.2675, allocations: 17.19 kB / 418.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2675, allocations: 1.25 kB / 418.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.2838, allocations: 3.722 MB / 422.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.284, allocations: 207.1 kB / 422.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.089, allocations: 0 / 422.4 MB, free: 13.25 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) Environment - environmentSimulation: