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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 107.4 kB / 15.34 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 194.2 kB / 16.26 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.249/0.249, allocations: 2.933 MB / 293 MB, free: 3.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 354.3 MB, free: 4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08444, allocations: 50.34 MB / 404.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002725/0.0872, allocations: 1.607 MB / 406.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.0885, allocations: 0.9957 MB / 407.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.08856, allocations: 0 / 407.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.08877, allocations: 23.91 kB / 407.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.08905, allocations: 91.61 kB / 407.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.44e-05/0.08908, allocations: 11.98 kB / 407.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.08915, allocations: 31.92 kB / 407.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.954e-05/0.08923, allocations: 8 kB / 407.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.08928, allocations: 11.94 kB / 407.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.08942, allocations: 31.84 kB / 407.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.08944, allocations: 4 kB / 407.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.0896, allocations: 111.9 kB / 407.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.08962, allocations: 7.922 kB / 407.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.08965, allocations: 19.94 kB / 407.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.08986, allocations: 131.9 kB / 407.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.08987, allocations: 0 / 407.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.08987, allocations: 0 / 407.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.08988, allocations: 0 / 407.7 MB, free: 14.52 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.0004153/0.0903, allocations: 380.5 kB / 408.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.09034, allocations: 15.89 kB / 408.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.888e-05/0.09038, allocations: 30.75 kB / 408.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.09041, allocations: 4.938 kB / 408.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.09056, allocations: 188.2 kB / 408.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.09057, allocations: 4.312 kB / 408.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.09059, allocations: 8.375 kB / 408.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.09069, allocations: 45.62 kB / 408.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.09071, allocations: 0 / 408.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-06/0.09072, allocations: 0 / 408.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.09073, allocations: 0 / 408.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.09081, allocations: 23.92 kB / 408.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.0911, allocations: 268.9 kB / 408.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.09127, allocations: 46.62 kB / 408.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.09133, allocations: 24.88 kB / 408.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.09135, allocations: 0 / 408.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.09137, allocations: 34.56 kB / 408.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.09138, allocations: 0 / 408.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001924/0.09158, allocations: 65.58 kB / 408.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.09162, allocations: 55.41 kB / 408.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.09172, allocations: 113.8 kB / 409 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.09174, allocations: 25.7 kB / 409 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.09179, allocations: 84.14 kB / 409.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.09181, allocations: 11.91 kB / 409.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.09185, allocations: 17.7 kB / 409.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.09195, allocations: 326.7 kB / 409.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.09201, allocations: 7.984 kB / 409.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.943e-05/0.09204, allocations: 8 kB / 409.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.743e-05/0.09212, allocations: 29.12 kB / 409.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.09212, allocations: 0 / 409.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001141/0.09224, allocations: 61.56 kB / 409.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.09226, allocations: 12 kB / 409.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.09227, allocations: 3.938 kB / 409.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.09229, allocations: 0 / 409.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.118e-05/0.09233, allocations: 4 kB / 409.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.09234, allocations: 3.938 kB / 409.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.09238, allocations: 7.938 kB / 409.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.09239, allocations: 384 / 409.6 MB, free: 12.41 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 6.622e-05/0.09246, allocations: 117.8 kB / 409.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.09249, allocations: 11.91 kB / 409.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.09252, allocations: 3.906 kB / 409.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.09253, allocations: 7.938 kB / 409.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.09254, allocations: 0 / 409.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.09254, allocations: 0 / 409.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.0927, allocations: 169.6 kB / 409.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.09271, allocations: 0 / 409.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.09275, allocations: 8 kB / 409.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.09276, allocations: 0 / 409.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.09277, allocations: 3.984 kB / 409.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.09278, allocations: 4 kB / 409.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.09279, allocations: 4 kB / 409.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.09294, allocations: 151.4 kB / 410 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.09299, allocations: 89 kB / 410.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.09301, allocations: 4 kB / 410.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.355e-05/0.09308, allocations: 0 / 410.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.09311, allocations: 4 kB / 410.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.09312, allocations: 0 / 410.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.176e-05/0.09317, allocations: 95.27 kB / 410.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09318, allocations: 0 / 410.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.09344, allocations: 39.98 kB / 410.3 MB, free: 11.61 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.0009041/0.09435, allocations: 0.9089 MB / 411.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.09448, allocations: 23.92 kB / 411.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.09449, allocations: 0 / 411.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.083e-05/0.09454, allocations: 19.98 kB / 411.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.09482, allocations: 8 kB / 411.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.09597, allocations: 1.304 MB / 412.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.0962, allocations: 0.6844 MB / 413.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.852e-05/0.09624, allocations: 12.17 kB / 413.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.09628, allocations: 15.44 kB / 413.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09629, allocations: 0 / 413.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2636/0.3599, allocations: 2.407 MB / 415.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/0.3602, allocations: 242.5 kB / 415.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.453, allocations: 0 / 415.9 MB, free: 5.977 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_INITest.fmu > ExternData_ExternData.Examples.INITest.pipe 2>&1)