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.0008629/0.0008628, allocations: 86.8 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.0009466/0.0009466, 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.441/1.441, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.2099/0.2099, allocations: 2.957 MB / 294 MB, free: 3.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 8 kB / 356 MB, free: 3.637 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 51.35 MB / 407.3 MB, free: 240 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.001454/0.1493, allocations: 477.2 kB / 407.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1504, allocations: 0.6876 MB / 408.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.1505, allocations: 4 kB / 408.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.1507, allocations: 27.91 kB / 408.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1509, allocations: 15.94 kB / 408.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.479e-05/0.1509, allocations: 0 / 408.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.671e-05/0.151, allocations: 23.91 kB / 408.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.541e-05/0.151, allocations: 0 / 408.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.1511, allocations: 4 kB / 408.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1512, allocations: 11.94 kB / 408.5 MB, free: 15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1512, allocations: 0 / 408.5 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.1513, allocations: 11.98 kB / 408.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.1513, allocations: 7.922 kB / 408.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.1514, allocations: 37.7 kB / 408.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1515, allocations: 19.97 kB / 408.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1515, allocations: 0 / 408.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.1515, allocations: 0 / 408.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1515, allocations: 0 / 408.6 MB, free: 14.91 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.0004377/0.1519, allocations: 335.5 kB / 408.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.152, allocations: 11.97 kB / 409 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.1521, allocations: 30.56 kB / 409 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.1521, allocations: 0 / 409 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1523, allocations: 179 kB / 409.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1523, allocations: 4 kB / 409.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1523, allocations: 4 kB / 409.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1525, allocations: 43.36 kB / 409.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1525, allocations: 4 kB / 409.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1526, allocations: 0 / 409.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1526, allocations: 0 / 409.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.998e-05/0.1526, allocations: 0 / 409.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006664/0.1533, allocations: 487.5 kB / 409.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1534, allocations: 169.2 kB / 409.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.726e-05/0.1535, allocations: 80.14 kB / 409.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.1535, allocations: 79.27 kB / 410 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.114e-05/0.1536, allocations: 113.8 kB / 410.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.1536, allocations: 3.938 kB / 410.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001474/0.1538, allocations: 37.72 kB / 410.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.1539, allocations: 126.7 kB / 410.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1541, allocations: 113.8 kB / 410.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1541, allocations: 25.7 kB / 410.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.1542, allocations: 92.12 kB / 410.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.1543, allocations: 0 / 410.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.1543, allocations: 0 / 410.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.1545, allocations: 318.8 kB / 410.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-06/0.1545, allocations: 0 / 410.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-06/0.1545, allocations: 0 / 410.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.1546, allocations: 79.27 kB / 410.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.129e-05/0.1546, allocations: 75.28 kB / 411 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.045e-05/0.1547, allocations: 37.55 kB / 411 MB, free: 12.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/0.1548, allocations: 83.28 kB / 411.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/0.1548, allocations: 79.28 kB / 411.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.582e-05/0.1549, allocations: 154.5 kB / 411.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.169e-05/0.1549, allocations: 75.28 kB / 411.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.04e-05/0.155, allocations: 150.6 kB / 411.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.83e-05/0.1551, allocations: 91.16 kB / 411.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.1552, allocations: 83.27 kB / 411.7 MB, free: 11.57 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.0001679/0.1553, allocations: 260.4 kB / 412 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.91e-05/0.1554, allocations: 108.9 kB / 412.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/0.1555, allocations: 112.5 kB / 412.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.567e-05/0.1556, allocations: 184.2 kB / 412.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000112/0.1557, allocations: 184.2 kB / 412.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.393e-05/0.1558, allocations: 180.2 kB / 412.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.1562, allocations: 413.1 kB / 413.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.153e-05/0.1562, allocations: 101 kB / 413.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.1563, allocations: 112.9 kB / 413.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/0.1564, allocations: 180.2 kB / 413.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.1566, allocations: 184.3 kB / 413.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001135/0.1567, allocations: 184.2 kB / 413.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001088/0.1568, allocations: 180.3 kB / 414 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.1571, allocations: 312.1 kB / 414.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.1572, allocations: 190 kB / 414.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.1574, allocations: 188.2 kB / 414.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1576, allocations: 101 kB / 414.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.1577, allocations: 180.2 kB / 415 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.1577, allocations: 105 kB / 415.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.187e-05/0.1578, allocations: 91.27 kB / 415.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 4 kB / 415.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.1582, allocations: 4 kB / 415.2 MB, free: 7.859 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.0008367/0.159, allocations: 0.8762 MB / 416.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.607e-05/0.1591, allocations: 0 / 416.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1591, allocations: 0 / 416.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.1591, allocations: 4 kB / 416.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006369/0.1597, allocations: 0.5244 MB / 416.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.1607, allocations: 0.5647 MB / 417.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1611, allocations: 0.6731 MB / 417.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.646e-05/0.1611, allocations: 8 kB / 417.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.1612, allocations: 15.5 kB / 417.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1612, allocations: 0 / 417.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.177, allocations: 1.216 MB / 419.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.1773, allocations: 199.6 kB / 419.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.163, allocations: 0 / 419.3 MB, free: 3.766 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: