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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 110 kB / 18.84 MB, free: 2.887 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.002135/0.002135, allocations: 193.1 kB / 22.1 MB, free: 5.172 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.416/1.416, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.00724/0.00724, allocations: 1.025 MB / 307 MB, free: 7.684 MB / 238.1 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.89 kB / 426.8 MB, free: 23.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08511/0.08701, allocations: 52.41 MB / 479.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002284/0.08929, allocations: 1.206 MB / 480.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003354/0.09265, allocations: 2.135 MB / 482.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.09267, allocations: 0 / 482.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.09269, allocations: 0 / 482.6 MB, free: 15.65 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.12.0/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.001213/0.0939, allocations: 461.7 kB / 483 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.946e-06/0.0939, allocations: 0 / 483 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.159e-05/0.09395, allocations: 7.938 kB / 483.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.09398, allocations: 4 kB / 483.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.291e-05/0.09399, allocations: 0 / 483.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.09421, allocations: 19.91 kB / 483.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.214e-06/0.09421, allocations: 0 / 483.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007066/0.09492, allocations: 475.5 kB / 483.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-06/0.09493, allocations: 4 kB / 483.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.09494, allocations: 11.94 kB / 483.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.09544, allocations: 351.4 kB / 483.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.09545, allocations: 3.984 kB / 483.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09545, allocations: 0 / 483.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.09546, allocations: 0 / 483.9 MB, free: 14.34 MB / 350.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.0004077/0.09587, allocations: 333.5 kB / 484.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.0959, allocations: 8.922 kB / 484.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.533e-05/0.09597, allocations: 110 kB / 484.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.09604, allocations: 88.09 kB / 484.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.09619, allocations: 189.8 kB / 484.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.09626, allocations: 150.9 kB / 484.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.723e-05/0.09632, allocations: 158.4 kB / 484.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.549e-05/0.09639, allocations: 101 kB / 485 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.09643, allocations: 79.28 kB / 485.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-05/0.09649, allocations: 154.6 kB / 485.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/0.09655, allocations: 150.6 kB / 485.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.543e-05/0.09662, allocations: 154.6 kB / 485.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.09691, allocations: 417 kB / 486 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.09701, allocations: 181 kB / 486.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.09705, allocations: 80.14 kB / 486.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.09708, allocations: 75.28 kB / 486.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.09713, allocations: 105.8 kB / 486.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.09713, allocations: 0 / 486.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.75e-05/0.09721, allocations: 29.69 kB / 486.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.09728, allocations: 138.6 kB / 486.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.09738, allocations: 101.9 kB / 486.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.0974, allocations: 25.7 kB / 486.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.09744, allocations: 84.14 kB / 486.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.09744, allocations: 4 kB / 486.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.09746, allocations: 9.719 kB / 486.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.0976, allocations: 314.8 kB / 487.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-06/0.09761, allocations: 0 / 487.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-06/0.09761, allocations: 0 / 487.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.09764, allocations: 79.28 kB / 487.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.042e-05/0.09767, allocations: 75.28 kB / 487.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.664e-05/0.09773, allocations: 33.64 kB / 487.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.09777, allocations: 79.28 kB / 487.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/0.09781, allocations: 83.22 kB / 487.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.2e-05/0.09788, allocations: 150.6 kB / 487.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.559e-05/0.09791, allocations: 87.2 kB / 487.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.308e-05/0.09798, allocations: 154.6 kB / 487.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.871e-05/0.09806, allocations: 79.28 kB / 487.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.09809, allocations: 79.22 kB / 488 MB, free: 10.07 MB / 350.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 0.0001332/0.09822, allocations: 260.3 kB / 488.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.0983, allocations: 113 kB / 488.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.09835, allocations: 124.1 kB / 488.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.528e-05/0.09843, allocations: 176.3 kB / 488.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.043e-05/0.09851, allocations: 180.4 kB / 488.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.671e-05/0.0986, allocations: 180.3 kB / 489 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.09884, allocations: 380.2 kB / 489.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.129e-05/0.09891, allocations: 116.9 kB / 489.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.09895, allocations: 101 kB / 489.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.488e-05/0.09903, allocations: 180.2 kB / 489.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/0.0991, allocations: 180.2 kB / 489.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.455e-05/0.09918, allocations: 180.3 kB / 490.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.489e-05/0.09925, allocations: 184.2 kB / 490.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.09941, allocations: 307.7 kB / 490.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.09946, allocations: 109 kB / 490.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.09956, allocations: 180.7 kB / 490.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.09965, allocations: 108.9 kB / 490.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.09973, allocations: 184.2 kB / 491.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.09978, allocations: 109 kB / 491.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.763e-05/0.09984, allocations: 87.27 kB / 491.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09984, allocations: 0 / 491.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004951/0.1003, allocations: 135.5 kB / 491.5 MB, free: 6.375 MB / 350.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.001527/0.1019, allocations: 1.183 MB / 492.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.376e-05/0.1019, allocations: 3.938 kB / 492.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1019, allocations: 4 kB / 492.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.1019, allocations: 0 / 492.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1023, allocations: 462.5 kB / 493.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1039, allocations: 1.626 MB / 494.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1042, allocations: 0.6766 MB / 495.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.229e-05/0.1042, allocations: 7.906 kB / 495.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.1042, allocations: 15.5 kB / 495.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1042, allocations: 0 / 495.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/0.1365, allocations: 4.1 MB / 499.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.87, allocations: 8 kB / 499.5 MB, free: 14.36 MB / 366.1 MB " [Timeout remaining time 649] (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/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealParameter.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.306566409999505] Failed to read output from testmodel.py, exit status != 0: 10.978948080912232 11.006490561 10.90585172 Calling exit ...