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.001335/0.001335, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002192/0.002192, allocations: 218.5 kB / 23.03 MB, free: 4.922 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.01552/0.01552, allocations: 3.283 MB / 316.5 MB, free: 15.62 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.001907/0.001907, allocations: 67.84 kB / 440.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09739, allocations: 54.38 MB / 494.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002932/0.1003, allocations: 1.557 MB / 496.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.102, allocations: 1.118 MB / 497.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1021, allocations: 0 / 497.3 MB, free: 2.797 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.0002381/0.1023, allocations: 27.86 kB / 497.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.1027, allocations: 103.5 kB / 497.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.964e-05/0.1027, allocations: 7.984 kB / 497.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.88e-05/0.1028, allocations: 43.86 kB / 497.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.175e-05/0.1029, allocations: 11.97 kB / 497.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.751e-05/0.1029, allocations: 11.94 kB / 497.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.103, allocations: 15.92 kB / 497.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.103, allocations: 4 kB / 497.6 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.1032, allocations: 103.9 kB / 497.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.1032, allocations: 8 kB / 497.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.1033, allocations: 23.84 kB / 497.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1035, allocations: 115.6 kB / 497.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1035, allocations: 0 / 497.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1035, allocations: 4 kB / 497.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1035, allocations: 4 kB / 497.8 MB, free: 2.32 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.0004786/0.104, allocations: 309.8 kB / 498.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.104, allocations: 12.03 kB / 498.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.522e-05/0.1041, allocations: 4.188 kB / 498.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.1041, allocations: 30.75 kB / 498.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.1041, allocations: 8.891 kB / 498.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.1043, allocations: 118.5 kB / 498.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1043, allocations: 4.375 kB / 498.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.1043, allocations: 4.125 kB / 498.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.1045, allocations: 49.67 kB / 498.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1045, allocations: 8 kB / 498.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1045, allocations: 4 kB / 498.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.1045, allocations: 0 / 498.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.1046, allocations: 23.92 kB / 498.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.1049, allocations: 228 kB / 498.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1051, allocations: 42.62 kB / 498.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.1051, allocations: 20.94 kB / 498.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.1051, allocations: 7.938 kB / 498.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1051, allocations: 30.56 kB / 498.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1051, allocations: 0 / 498.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002297/0.1054, allocations: 69.62 kB / 498.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1054, allocations: 51.41 kB / 498.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1056, allocations: 129.7 kB / 498.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1056, allocations: 25.7 kB / 499 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.1056, allocations: 84.14 kB / 499 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.1056, allocations: 11.91 kB / 499.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.1057, allocations: 13.72 kB / 499.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1058, allocations: 326.8 kB / 499.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.1059, allocations: 7.938 kB / 499.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.1059, allocations: 15.98 kB / 499.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/0.106, allocations: 24.84 kB / 499.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.106, allocations: 0 / 499.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001179/0.1061, allocations: 54.02 kB / 499.5 MB, free: 452 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1061, allocations: 8.359 kB / 499.5 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1061, allocations: 3.984 kB / 499.5 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1061, allocations: 4 kB / 499.5 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.1062, allocations: 4 kB / 499.5 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1062, allocations: 11.88 kB / 499.5 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.1062, allocations: 4 kB / 499.5 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1062, allocations: 0 / 499.5 MB, free: 416 kB / 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.634e-05/0.1063, allocations: 117.8 kB / 499.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.1063, allocations: 7.953 kB / 499.7 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.1063, allocations: 8 kB / 499.7 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1063, allocations: 0 / 499.7 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1064, allocations: 4 kB / 499.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1064, allocations: 0 / 499.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.1065, allocations: 136.7 kB / 499.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1065, allocations: 0 / 499.8 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.1066, allocations: 11.98 kB / 499.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.1066, allocations: 0 / 499.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.1066, allocations: 0 / 499.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1066, allocations: 0 / 499.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1066, allocations: 0 / 499.8 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.1068, allocations: 163.4 kB / 500 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.1068, allocations: 8 kB / 500 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1068, allocations: 4 kB / 500 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.351e-05/0.1069, allocations: 4 kB / 500 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.1069, allocations: 11.92 kB / 500 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1069, allocations: 0 / 500 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.605e-05/0.107, allocations: 91.27 kB / 0.4884 GB, free: 15.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.107, allocations: 0 / 0.4884 GB, free: 15.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1072, allocations: 43.75 kB / 0.4884 GB, free: 15.73 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.001378/0.1086, allocations: 0.9014 MB / 0.4893 GB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.1088, allocations: 35.91 kB / 0.4893 GB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1088, allocations: 0 / 0.4893 GB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.1088, allocations: 8 kB / 0.4893 GB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.1091, allocations: 11.98 kB / 0.4893 GB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1105, allocations: 1.284 MB / 0.4906 GB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.588e-05/0.1106, allocations: 71.3 kB / 0.4907 GB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.071e-05/0.1106, allocations: 4 kB / 0.4907 GB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.1107, allocations: 23.41 kB / 0.4907 GB, free: 13.35 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1107, allocations: 0 / 0.4907 GB, free: 13.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.1364, allocations: 2.773 MB / 0.4934 GB, free: 10.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.32, allocations: 23.23 kB / 0.4934 GB, free: 10.62 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.987924135057256] Failed to read output from testmodel.py, exit status != 0: 11.482598345959559 11.66132089 11.55452232 Calling exit ...