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.3-master/package.mo", uses=false) Using package ExternData with version 3.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-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.0008204/0.0008203, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001047/0.001047, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.176/0.176, allocations: 2.957 MB / 294 MB, free: 3.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003198, allocations: 11.98 kB / 356 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.11, allocations: 51.35 MB / 407.3 MB, free: 184 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.001976/0.112, allocations: 1.248 MB / 408.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1135, allocations: 0.9569 MB / 409.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.1136, allocations: 0 / 409.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.1139, allocations: 19.92 kB / 409.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.1142, allocations: 87.73 kB / 409.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.246e-05/0.1143, allocations: 4 kB / 409.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.978e-05/0.1143, allocations: 31.86 kB / 409.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.1144, allocations: 7.984 kB / 409.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.07e-05/0.1145, allocations: 15.92 kB / 409.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1147, allocations: 15.92 kB / 409.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1147, allocations: 0 / 409.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.1149, allocations: 103.8 kB / 409.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.1149, allocations: 7.938 kB / 409.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.115, allocations: 33.7 kB / 409.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1152, allocations: 92.09 kB / 409.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1152, allocations: 0 / 409.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1152, allocations: 0 / 409.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.1152, allocations: 0 / 409.9 MB, free: 13.54 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.0004627/0.1157, allocations: 367.2 kB / 410.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1157, allocations: 8.031 kB / 410.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.305e-05/0.1158, allocations: 46.48 kB / 410.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.1158, allocations: 7.906 kB / 410.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.116, allocations: 182.9 kB / 410.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.116, allocations: 4 kB / 410.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.116, allocations: 0 / 410.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1162, allocations: 45.69 kB / 410.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1162, allocations: 0 / 410.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.1162, allocations: 0 / 410.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1162, allocations: 0 / 410.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.565e-05/0.1163, allocations: 27.98 kB / 410.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.1167, allocations: 272.8 kB / 410.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.1169, allocations: 50.61 kB / 410.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.1169, allocations: 20.86 kB / 410.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.117, allocations: 0 / 410.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.117, allocations: 30.56 kB / 411 MB, free: 12.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.117, allocations: 0 / 411 MB, free: 12.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002155/0.1172, allocations: 73.7 kB / 411 MB, free: 12.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.1173, allocations: 55.41 kB / 411.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1174, allocations: 121.8 kB / 411.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1174, allocations: 25.7 kB / 411.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.1175, allocations: 84.12 kB / 411.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.1175, allocations: 15.81 kB / 411.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.1175, allocations: 0 / 411.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1176, allocations: 314.8 kB / 411.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.942e-05/0.1177, allocations: 15.98 kB / 411.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.1177, allocations: 15.98 kB / 411.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.1177, allocations: 15.94 kB / 411.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1177, allocations: 3.938 kB / 411.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001077/0.1179, allocations: 57.67 kB / 411.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1179, allocations: 9.875 kB / 411.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1179, allocations: 336 / 411.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1179, allocations: 4 kB / 411.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.045e-05/0.118, allocations: 4 kB / 411.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.118, allocations: 4 kB / 411.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.118, allocations: 3.938 kB / 411.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.118, allocations: 4 kB / 411.8 MB, free: 11.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.021e-05/0.1181, allocations: 117.8 kB / 411.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.1181, allocations: 11.89 kB / 411.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.1182, allocations: 7.906 kB / 411.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1182, allocations: 8 kB / 411.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1182, allocations: 0 / 411.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1182, allocations: 0 / 411.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1184, allocations: 165.6 kB / 412.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1184, allocations: 0 / 412.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.1184, allocations: 11.94 kB / 412.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1184, allocations: 0 / 412.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.1184, allocations: 0 / 412.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1184, allocations: 3.984 kB / 412.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1184, allocations: 0 / 412.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.1186, allocations: 163.4 kB / 412.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.1187, allocations: 85.09 kB / 412.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1187, allocations: 4 kB / 412.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.461e-05/0.1188, allocations: 384 / 412.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.1188, allocations: 4 kB / 412.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1188, allocations: 0 / 412.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.033e-05/0.1189, allocations: 99.2 kB / 412.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1189, allocations: 0 / 412.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1191, allocations: 43.92 kB / 412.5 MB, free: 10.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009575/0.1201, allocations: 0.9072 MB / 413.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1202, allocations: 35.97 kB / 413.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1203, allocations: 0 / 413.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.369e-05/0.1203, allocations: 23.92 kB / 413.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.1206, allocations: 8 kB / 413.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.1214, allocations: 452.3 kB / 413.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1216, allocations: 0.6809 MB / 414.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.774e-05/0.1217, allocations: 11.92 kB / 414.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.1217, allocations: 23.38 kB / 414.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of SimCode: time 1.462e-06/0.1217, allocations: 0 / 414.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.1355, allocations: 2.185 MB / 416.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.1357, allocations: 222.2 kB / 417 MB, free: 6.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.948, allocations: 0 / 417 MB, free: 6.18 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/linux/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) Environment - environmentSimulation: