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.001843/0.001843, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002296/0.002296, allocations: 220.9 kB / 22.25 MB, free: 5.125 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.957 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.01873/0.01873, allocations: 3.266 MB / 315.7 MB, free: 15.78 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.INITest,fileNamePrefix="ExternData_ExternData_Examples_INITest",fmuType="me",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.002134/0.002134, allocations: 67.91 kB / 439.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1039, allocations: 54.38 MB / 493.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.00334/0.1072, allocations: 1.574 MB / 495.5 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1091, allocations: 1.13 MB / 496.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.1091, allocations: 0 / 496.6 MB, free: 3.004 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.0002599/0.1094, allocations: 27.86 kB / 496.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004078/0.1098, allocations: 107.5 kB / 496.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.192e-05/0.1099, allocations: 7.984 kB / 496.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.734e-05/0.1099, allocations: 35.86 kB / 496.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.11, allocations: 4 kB / 496.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.022e-05/0.1101, allocations: 19.98 kB / 496.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1103, allocations: 35.41 kB / 496.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1103, allocations: 0 / 496.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.1105, allocations: 115.8 kB / 497 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.1105, allocations: 4 kB / 497 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.1105, allocations: 15.88 kB / 497 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1108, allocations: 127.6 kB / 497.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1108, allocations: 0 / 497.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1108, allocations: 0 / 497.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1108, allocations: 0 / 497.1 MB, free: 2.516 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.0005011/0.1113, allocations: 317.8 kB / 497.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1114, allocations: 8.031 kB / 497.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.1114, allocations: 34.75 kB / 497.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.1114, allocations: 8.891 kB / 497.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1117, allocations: 126.5 kB / 497.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1117, allocations: 4.375 kB / 497.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.1117, allocations: 4.375 kB / 497.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1118, allocations: 49.61 kB / 497.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1118, allocations: 8 kB / 497.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1119, allocations: 0 / 497.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1119, allocations: 0 / 497.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/0.1119, allocations: 23.92 kB / 497.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.1123, allocations: 232 kB / 497.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1125, allocations: 46.62 kB / 498 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.1126, allocations: 20.94 kB / 498 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.1126, allocations: 7.938 kB / 498 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1126, allocations: 34.5 kB / 498 MB, free: 1.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1126, allocations: 0 / 498 MB, free: 1.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002448/0.1129, allocations: 65.62 kB / 498.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.1129, allocations: 55.41 kB / 498.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.113, allocations: 117.8 kB / 498.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.113, allocations: 25.7 kB / 498.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.1131, allocations: 92.12 kB / 498.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.1131, allocations: 12.28 kB / 498.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.1131, allocations: 13.72 kB / 498.4 MB, free: 1.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1133, allocations: 322.8 kB / 498.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.1133, allocations: 8 kB / 498.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.1134, allocations: 11.92 kB / 498.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.1134, allocations: 36.78 kB / 498.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1134, allocations: 0 / 498.8 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001573/0.1136, allocations: 58 kB / 498.8 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1136, allocations: 4 kB / 498.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1136, allocations: 0 / 498.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1136, allocations: 0 / 498.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.1137, allocations: 11.98 kB / 498.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1137, allocations: 0 / 498.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.1137, allocations: 4 kB / 498.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1137, allocations: 4 kB / 498.9 MB, free: 0.5898 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.603e-05/0.1138, allocations: 117.7 kB / 499 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1139, allocations: 7.953 kB / 499 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.1139, allocations: 7.984 kB / 499 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1139, allocations: 0 / 499 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1139, allocations: 0 / 499 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1139, allocations: 0 / 499 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.1141, allocations: 144.7 kB / 499.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1141, allocations: 0 / 499.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.1141, allocations: 12 kB / 499.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1141, allocations: 0 / 499.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.1141, allocations: 0 / 499.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1141, allocations: 0 / 499.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.1141, allocations: 11.92 kB / 499.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.1143, allocations: 151.4 kB / 499.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.1143, allocations: 7.984 kB / 499.3 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.1143, allocations: 8 kB / 499.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.1144, allocations: 0 / 499.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.1144, allocations: 7.938 kB / 499.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1144, allocations: 0 / 499.3 MB, free: 48 kB / 350.1 MB Notification: Performance of sorting global known variables: time 8.347e-05/0.1145, allocations: 91.27 kB / 499.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1145, allocations: 0 / 499.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1148, allocations: 43.8 kB / 499.5 MB, free: 15.91 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.001279/0.1161, allocations: 0.8845 MB / 0.4886 GB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1163, allocations: 31.92 kB / 0.4887 GB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1163, allocations: 0 / 0.4887 GB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.1163, allocations: 15.98 kB / 0.4887 GB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1166, allocations: 11.94 kB / 0.4887 GB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1181, allocations: 1.288 MB / 0.4899 GB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1184, allocations: 0.6846 MB / 0.4906 GB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.723e-05/0.1184, allocations: 3.984 kB / 0.4906 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.1185, allocations: 23.42 kB / 0.4906 GB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1185, allocations: 11.88 kB / 0.4906 GB, free: 12.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.1536, allocations: 2.674 MB / 0.4933 GB, free: 10.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.66, allocations: 10.52 kB / 0.4933 GB, free: 10.25 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.55773832113482] Failed to read output from testmodel.py, exit status != 0: 11.772434822050855 11.962675167 11.848456213 Calling exit ...