Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternData_ExternData.Examples.TIRTest.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.TIRTest,fileNamePrefix="ExternData_ExternData_Examples_TIRTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.TIRTest,fileNamePrefix="ExternData_ExternData_Examples_TIRTest",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.001101/0.001101, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001077/0.001077, allocations: 177.3 kB / 15.94 MB, free: 228 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.343/1.343, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.1561/0.1561, allocations: 2.945 MB / 293.9 MB, free: 3.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 8 kB / 355.9 MB, free: 3.656 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.0995, allocations: 51.34 MB / 407.2 MB, free: 268 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001069/0.1006, allocations: 469.3 kB / 407.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008489/0.1015, allocations: 0.707 MB / 408.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.1015, allocations: 4 kB / 408.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.1017, allocations: 19.92 kB / 408.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.1018, allocations: 23.91 kB / 408.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.027e-05/0.1018, allocations: 4 kB / 408.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.394e-05/0.1019, allocations: 8 kB / 408.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.1019, allocations: 0 / 408.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.1019, allocations: 7.984 kB / 408.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1021, allocations: 15.86 kB / 408.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.1021, allocations: 0 / 408.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.201e-05/0.1021, allocations: 12 kB / 408.5 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-06/0.1021, allocations: 0 / 408.5 MB, free: 15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.1022, allocations: 29.64 kB / 408.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.782e-05/0.1023, allocations: 23.95 kB / 408.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1023, allocations: 4 kB / 408.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1023, allocations: 4 kB / 408.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1023, allocations: 0 / 408.5 MB, free: 14.94 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003232/0.1026, allocations: 331.5 kB / 408.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1027, allocations: 8.031 kB / 408.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.1027, allocations: 34.56 kB / 408.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.1027, allocations: 0 / 408.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1029, allocations: 171 kB / 409 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.1029, allocations: 0 / 409 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1029, allocations: 4 kB / 409.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.034e-05/0.103, allocations: 47.41 kB / 409.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.103, allocations: 0 / 409.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.103, allocations: 0 / 409.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.103, allocations: 3.938 kB / 409.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.017e-05/0.103, allocations: 4 kB / 409.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.1034, allocations: 483.6 kB / 409.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.203e-05/0.1035, allocations: 177 kB / 409.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.1035, allocations: 79.27 kB / 409.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.1036, allocations: 109.8 kB / 409.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1036, allocations: 0 / 409.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.39e-05/0.1036, allocations: 29.7 kB / 410 MB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.1037, allocations: 130.6 kB / 410.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.1038, allocations: 117.8 kB / 410.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.1038, allocations: 25.7 kB / 410.2 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.1039, allocations: 84.14 kB / 410.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.1039, allocations: 3.938 kB / 410.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.1039, allocations: 0 / 410.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.104, allocations: 318.8 kB / 410.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-06/0.104, allocations: 4 kB / 410.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-06/0.104, allocations: 8.031 kB / 410.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.381e-05/0.1041, allocations: 75.28 kB / 410.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/0.1041, allocations: 75.28 kB / 410.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.226e-05/0.1041, allocations: 33.61 kB / 410.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.1042, allocations: 79.28 kB / 410.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/0.1042, allocations: 79.22 kB / 411 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.467e-05/0.1043, allocations: 158.6 kB / 411.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.991e-05/0.1043, allocations: 83.22 kB / 411.2 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.381e-05/0.1044, allocations: 154.5 kB / 411.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.1044, allocations: 79.22 kB / 411.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.1045, allocations: 79.22 kB / 411.5 MB, free: 11.69 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 (0): * Single equations (assignments): 0 * 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 0.0001098/0.1046, allocations: 268.4 kB / 411.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.1046, allocations: 109 kB / 411.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.1047, allocations: 112.5 kB / 412 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.408e-05/0.1048, allocations: 180.2 kB / 412.2 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.895e-05/0.1048, allocations: 176.3 kB / 412.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-05/0.1049, allocations: 184.2 kB / 412.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1051, allocations: 413.2 kB / 412.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-05/0.1051, allocations: 108.9 kB / 413 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.1052, allocations: 105 kB / 413.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.668e-05/0.1052, allocations: 176.3 kB / 413.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.1053, allocations: 184.2 kB / 413.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.585e-05/0.1054, allocations: 180.3 kB / 413.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.407e-05/0.1055, allocations: 188.1 kB / 413.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.1056, allocations: 312.1 kB / 414.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.1057, allocations: 190 kB / 414.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.11e-05/0.1057, allocations: 184.2 kB / 414.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.1058, allocations: 108.9 kB / 414.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.1059, allocations: 176.3 kB / 414.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.1059, allocations: 108.9 kB / 414.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.189e-05/0.106, allocations: 91.27 kB / 415 MB, free: 7.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.106, allocations: 0 / 415 MB, free: 7.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1063, allocations: 4 kB / 415 MB, free: 7.98 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 (0): * Single equations (assignments): 0 * 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.0005406/0.1068, allocations: 0.8808 MB / 415.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 2.81e-05/0.1068, allocations: 0 / 415.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1069, allocations: 0 / 415.9 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.077e-06/0.1069, allocations: 7.938 kB / 415.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1072, allocations: 0.5287 MB / 416.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.1078, allocations: 0.5453 MB / 417 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.108, allocations: 0.6809 MB / 417.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.94e-05/0.1081, allocations: 7.938 kB / 417.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.1081, allocations: 15.38 kB / 417.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1081, allocations: 0 / 417.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.1206, allocations: 1.205 MB / 418.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.1209, allocations: 188.3 kB / 419.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/1.834, allocations: 0 / 419.1 MB, free: 3.902 MB / 350.1 MB (rm -f ExternData_ExternData.Examples.TIRTest.pipe ; mkfifo ExternData_ExternData.Examples.TIRTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.TIRTest.pipe >> ../files/ExternData_ExternData.Examples.TIRTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_TIRTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_TIRTest.fmu > ExternData_ExternData.Examples.TIRTest.pipe 2>&1) Environment - environmentSimulation: