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.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.001646/0.001646, allocations: 107 kB / 16.46 MB, free: 6.504 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.001555/0.001555, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.41/1.41, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.0137/0.0137, allocations: 2.984 MB / 305.7 MB, free: 6.773 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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(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: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 68.11 kB / 425.4 MB, free: 21.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1079, allocations: 53.09 MB / 478.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003752/0.1117, allocations: 1.553 MB / 480 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.1135, allocations: 1.031 MB / 481.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.1136, allocations: 3.938 kB / 481.1 MB, free: 14.15 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:79:3-102:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.1138, allocations: 15.88 kB / 481.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.1142, allocations: 115.5 kB / 481.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.928e-05/0.1142, allocations: 7.984 kB / 481.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.462e-05/0.1143, allocations: 31.92 kB / 481.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.1144, allocations: 8 kB / 481.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.1144, allocations: 15.92 kB / 481.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1146, allocations: 23.91 kB / 481.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.1146, allocations: 0 / 481.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.1148, allocations: 115.8 kB / 481.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.1148, allocations: 7.938 kB / 481.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.1148, allocations: 15.92 kB / 481.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.1151, allocations: 123.6 kB / 481.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1151, allocations: 4 kB / 481.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1151, allocations: 0 / 481.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1151, allocations: 0 / 481.5 MB, free: 13.68 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.0006596/0.1158, allocations: 386.9 kB / 481.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1158, allocations: 15.89 kB / 481.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.352e-05/0.1159, allocations: 38.73 kB / 482 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.1159, allocations: 0.9375 kB / 482 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1162, allocations: 188.2 kB / 482.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1162, allocations: 4.375 kB / 482.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.1162, allocations: 384 / 482.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1164, allocations: 53.62 kB / 482.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.1164, allocations: 0 / 482.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1164, allocations: 0 / 482.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1164, allocations: 0 / 482.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.316e-05/0.1165, allocations: 23.92 kB / 482.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.117, allocations: 268.9 kB / 482.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.1172, allocations: 50.61 kB / 482.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.722e-05/0.1172, allocations: 20.86 kB / 482.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.1172, allocations: 0 / 482.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1173, allocations: 34.5 kB / 482.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1173, allocations: 0 / 482.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002343/0.1175, allocations: 69.72 kB / 482.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.1175, allocations: 51.41 kB / 482.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1177, allocations: 117.8 kB / 482.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1177, allocations: 29.69 kB / 482.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.1177, allocations: 84.14 kB / 482.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.1178, allocations: 15.84 kB / 483 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.1178, allocations: 13.72 kB / 483 MB, free: 12.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.118, allocations: 322.8 kB / 483.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.118, allocations: 11.94 kB / 483.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.118, allocations: 15.98 kB / 483.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.824e-05/0.1181, allocations: 24.84 kB / 483.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1181, allocations: 0 / 483.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001171/0.1182, allocations: 57.62 kB / 483.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.1182, allocations: 4 kB / 483.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1182, allocations: 384 / 483.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1182, allocations: 0 / 483.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.696e-05/0.1183, allocations: 11.98 kB / 483.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1183, allocations: 0 / 483.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.1183, allocations: 7.938 kB / 483.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1183, allocations: 11.94 kB / 483.4 MB, free: 11.55 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 9.215e-05/0.1184, allocations: 113.7 kB / 483.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.1185, allocations: 7.953 kB / 483.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.1185, allocations: 11.89 kB / 483.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1185, allocations: 0 / 483.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1185, allocations: 0 / 483.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1185, allocations: 0 / 483.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1187, allocations: 165.6 kB / 483.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1187, allocations: 4 kB / 483.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.1187, allocations: 8 kB / 483.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1187, allocations: 0 / 483.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1187, allocations: 4 kB / 483.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1187, allocations: 4 kB / 483.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1187, allocations: 0 / 483.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.1189, allocations: 155.8 kB / 483.9 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.119, allocations: 89.05 kB / 484 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.119, allocations: 0 / 484 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.1191, allocations: 7.984 kB / 484 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.1191, allocations: 4.031 kB / 484 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1191, allocations: 0 / 484 MB, free: 10.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.1192, allocations: 95.27 kB / 484.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1192, allocations: 0 / 484.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1194, allocations: 31.88 kB / 484.1 MB, free: 10.76 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 (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.001308/0.1208, allocations: 0.9122 MB / 485 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.1209, allocations: 27.92 kB / 485.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1209, allocations: 4 kB / 485.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.1209, allocations: 8 kB / 485.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.1212, allocations: 11.98 kB / 485.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.1227, allocations: 1.28 MB / 486.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.123, allocations: 0.6844 MB / 487.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.307e-05/0.1231, allocations: 11.92 kB / 487.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.1231, allocations: 15.44 kB / 487.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1231, allocations: 4 kB / 487.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.1503, allocations: 2.583 MB / 489.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.124, allocations: 17.89 kB / 489.7 MB, free: 5.141 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.56831937795505] Failed to read output from testmodel.py, exit status != 0: 8.196070147212595 8.222844269 8.103453928 Calling exit ...