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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 114 kB / 18.14 MB, free: 3.781 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.001375/0.001375, allocations: 201.2 kB / 21.43 MB, free: 0.5 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.387/1.387, allocations: 225.6 MB / 250.2 MB, free: 13.26 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.00694/0.00694, allocations: 1.009 MB / 306.4 MB, free: 7.754 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.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 59.91 kB / 426.2 MB, free: 23.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09081/0.0927, allocations: 52.38 MB / 478.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.00229/0.09499, allocations: 1.211 MB / 479.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.09834, allocations: 2.188 MB / 482 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.09837, allocations: 0 / 482 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.09839, allocations: 3.938 kB / 482 MB, free: 15.82 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/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.001367/0.09976, allocations: 0.4937 MB / 482.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.09976, allocations: 0 / 482.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.09981, allocations: 7.938 kB / 482.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.09986, allocations: 7.938 kB / 482.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.09987, allocations: 4 kB / 482.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.1002, allocations: 11.98 kB / 482.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.1002, allocations: 0 / 482.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008305/0.101, allocations: 0.5228 MB / 483 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.101, allocations: 3.938 kB / 483 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.101, allocations: 0 / 483 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.1016, allocations: 391.3 kB / 483.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1016, allocations: 0 / 483.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1016, allocations: 0 / 483.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1016, allocations: 0 / 483.4 MB, free: 14.39 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.0004963/0.1021, allocations: 426.4 kB / 483.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1021, allocations: 15.97 kB / 483.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.636e-05/0.1022, allocations: 106 kB / 484 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.1023, allocations: 80.22 kB / 484 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1025, allocations: 243.7 kB / 484.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/0.1026, allocations: 154.9 kB / 484.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.596e-05/0.1026, allocations: 154.5 kB / 484.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.604e-05/0.1027, allocations: 105 kB / 484.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.1027, allocations: 79.22 kB / 484.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.528e-05/0.1028, allocations: 150.6 kB / 484.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/0.1029, allocations: 150.6 kB / 485 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.103, allocations: 150.6 kB / 485.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.1033, allocations: 453.9 kB / 485.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.1034, allocations: 173.1 kB / 485.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.1035, allocations: 84.08 kB / 485.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.1035, allocations: 79.28 kB / 486 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/0.1036, allocations: 109.8 kB / 486.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.1036, allocations: 0 / 486.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.937e-05/0.1036, allocations: 29.66 kB / 486.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.1037, allocations: 126.7 kB / 486.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1039, allocations: 113.8 kB / 486.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1039, allocations: 25.7 kB / 486.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.1039, allocations: 88.14 kB / 486.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.1039, allocations: 0 / 486.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.104, allocations: 9.719 kB / 486.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1041, allocations: 318.8 kB / 486.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-06/0.1041, allocations: 3.938 kB / 486.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-06/0.1041, allocations: 0 / 486.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.1042, allocations: 79.28 kB / 486.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.901e-05/0.1042, allocations: 75.28 kB / 486.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.974e-05/0.1043, allocations: 29.64 kB / 486.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.1043, allocations: 83.28 kB / 487 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/0.1043, allocations: 83.22 kB / 487.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.056e-05/0.1044, allocations: 150.6 kB / 487.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.34e-05/0.1044, allocations: 79.28 kB / 487.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.506e-05/0.1045, allocations: 162.5 kB / 487.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.515e-05/0.1046, allocations: 79.28 kB / 487.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.1046, allocations: 79.22 kB / 487.6 MB, free: 9.902 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.0001521/0.1048, allocations: 268.3 kB / 487.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.641e-05/0.1049, allocations: 105 kB / 488 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.989e-05/0.1049, allocations: 112.1 kB / 488.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-05/0.105, allocations: 180.2 kB / 488.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-05/0.1051, allocations: 180.3 kB / 488.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-05/0.1052, allocations: 188.1 kB / 488.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.1055, allocations: 409.2 kB / 489.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.682e-05/0.1055, allocations: 101 kB / 489.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.1056, allocations: 104.9 kB / 489.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-05/0.1057, allocations: 176.3 kB / 489.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.62e-05/0.1058, allocations: 188.2 kB / 489.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.573e-05/0.1059, allocations: 180.3 kB / 489.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001046/0.106, allocations: 180.3 kB / 490 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.1061, allocations: 308.1 kB / 490.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1062, allocations: 190 kB / 490.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.899e-05/0.1063, allocations: 184.3 kB / 490.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.1064, allocations: 101 kB / 490.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.1065, allocations: 184.3 kB / 490.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.1065, allocations: 108.9 kB / 491 MB, free: 6.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.496e-05/0.1066, allocations: 95.52 kB / 491.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1066, allocations: 0 / 491.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006154/0.1072, allocations: 139.5 kB / 491.2 MB, free: 6.078 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.001788/0.109, allocations: 1.208 MB / 492.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.028e-05/0.1091, allocations: 8 kB / 492.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1091, allocations: 0 / 492.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.1091, allocations: 0 / 492.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.1095, allocations: 465.2 kB / 492.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.1109, allocations: 1.653 MB / 494.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1112, allocations: 0.6805 MB / 495.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.454e-05/0.1113, allocations: 7.906 kB / 495.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.1113, allocations: 15.42 kB / 495.3 MB, free: 2 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1113, allocations: 0 / 495.3 MB, free: 2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.141, allocations: 4.23 MB / 499.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/8.559, allocations: 0 / 499.5 MB, free: 13.86 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadReal_m_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadReal_m.fmu > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.922758404980414] Failed to read output from testmodel.py, exit status != 0: 8.633254170999862 8.655797209 8.550932313 Calling exit ...