Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 218 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.02554/0.02554, allocations: 3.262 MB / 316.5 MB, free: 15.81 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ExternData.Examples.INITest,fileNamePrefix="ExternData_ExternData_Examples_INITest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.INITest,fileNamePrefix="ExternData_ExternData_Examples_INITest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 63.91 kB / 440.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1034, allocations: 54.38 MB / 494.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003574/0.1069, allocations: 1.574 MB / 496.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.1089, allocations: 1.138 MB / 497.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.109, allocations: 0 / 497.4 MB, free: 3.039 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:61:3-84:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.1092, allocations: 19.88 kB / 497.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.1096, allocations: 107.6 kB / 497.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.57e-05/0.1096, allocations: 7.984 kB / 497.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.945e-05/0.1097, allocations: 31.92 kB / 497.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.1098, allocations: 7.984 kB / 497.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.1099, allocations: 27.86 kB / 497.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.11, allocations: 23.86 kB / 497.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.11, allocations: 0 / 497.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.1103, allocations: 111.9 kB / 497.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.1103, allocations: 4 kB / 497.8 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.1103, allocations: 23.8 kB / 497.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1106, allocations: 127.6 kB / 497.9 MB, free: 2.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1106, allocations: 0 / 497.9 MB, free: 2.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1106, allocations: 3.938 kB / 497.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1106, allocations: 0 / 497.9 MB, free: 2.551 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005561/0.1112, allocations: 309.9 kB / 498.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1112, allocations: 8.031 kB / 498.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.916e-05/0.1112, allocations: 8.188 kB / 498.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.1113, allocations: 30.75 kB / 498.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.1113, allocations: 8.891 kB / 498.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1116, allocations: 126.5 kB / 498.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1116, allocations: 384 / 498.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.1116, allocations: 4.125 kB / 498.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1117, allocations: 57.61 kB / 498.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1117, allocations: 0 / 498.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1117, allocations: 4 kB / 498.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1118, allocations: 0 / 498.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.225e-05/0.1118, allocations: 19.98 kB / 498.5 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.1122, allocations: 232 kB / 498.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1124, allocations: 54.56 kB / 498.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.1124, allocations: 16.94 kB / 498.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.1125, allocations: 0 / 498.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1125, allocations: 34.5 kB / 498.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1125, allocations: 0 / 498.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002428/0.1127, allocations: 69.62 kB / 498.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.1128, allocations: 59.34 kB / 499 MB, free: 1.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1129, allocations: 117.8 kB / 499.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1129, allocations: 25.7 kB / 499.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.113, allocations: 92.12 kB / 499.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.113, allocations: 11.89 kB / 499.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.113, allocations: 17.72 kB / 499.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1131, allocations: 318.8 kB / 499.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.1132, allocations: 12 kB / 499.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.1132, allocations: 12.36 kB / 499.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.1133, allocations: 28.84 kB / 499.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1133, allocations: 0 / 499.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001289/0.1135, allocations: 57.62 kB / 499.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1135, allocations: 7.938 kB / 499.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1135, allocations: 4 kB / 499.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1135, allocations: 0 / 499.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.1136, allocations: 7.984 kB / 499.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1136, allocations: 4 kB / 499.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.1136, allocations: 4 kB / 499.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.1136, allocations: 0 / 499.7 MB, free: 0.6289 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 (3): * Single equations (assignments): 3 * 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 8.735e-05/0.1137, allocations: 109.8 kB / 499.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.1137, allocations: 11.95 kB / 499.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.1137, allocations: 7.984 kB / 499.8 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1137, allocations: 4.328 kB / 499.8 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1138, allocations: 0 / 499.8 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1138, allocations: 0 / 499.8 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.1139, allocations: 148.7 kB / 499.9 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1139, allocations: 4 kB / 499.9 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.114, allocations: 4 kB / 499.9 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.114, allocations: 0 / 499.9 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.114, allocations: 4 kB / 499.9 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.114, allocations: 0 / 499.9 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.114, allocations: 0 / 499.9 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.1142, allocations: 167.3 kB / 0.4884 GB, free: 100 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.1142, allocations: 7.984 kB / 0.4884 GB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.1142, allocations: 0 / 0.4884 GB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.157e-05/0.1143, allocations: 4 kB / 0.4884 GB, free: 88 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.1143, allocations: 0 / 0.4884 GB, free: 88 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1143, allocations: 0 / 0.4884 GB, free: 88 kB / 350.1 MB Notification: Performance of sorting global known variables: time 8.258e-05/0.1144, allocations: 95.27 kB / 0.4885 GB, free: 15.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1144, allocations: 4 kB / 0.4885 GB, free: 15.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.1147, allocations: 43.73 kB / 0.4885 GB, free: 15.95 MB / 366.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 (3): * Single equations (assignments): 3 * 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.00129/0.116, allocations: 0.8843 MB / 0.4894 GB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.1161, allocations: 27.98 kB / 0.4894 GB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1161, allocations: 0 / 0.4894 GB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.914e-05/0.1161, allocations: 19.98 kB / 0.4894 GB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1164, allocations: 7.938 kB / 0.4895 GB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.1179, allocations: 1.284 MB / 0.4907 GB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.1183, allocations: 0.6881 MB / 0.4914 GB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.002e-05/0.1183, allocations: 4 kB / 0.4914 GB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.1184, allocations: 19.42 kB / 0.4914 GB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1184, allocations: 0 / 0.4914 GB, free: 12.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.1492, allocations: 2.717 MB / 0.4941 GB, free: 10.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.12, allocations: 10.56 kB / 0.4941 GB, free: 10.28 MB / 366.1 MB " [Timeout remaining time 649] (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_INITest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_INITest.fmu > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.904157337965444] Failed to read output from testmodel.py, exit status != 0: 11.279943161993288 11.491178047 11.377441917 Calling exit ...