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.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.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.001234/0.001234, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001223/0.001223, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.209/1.209, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1036/0.1036, allocations: 2.926 MB / 292.9 MB, free: 3.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 59.89 kB / 354.1 MB, free: 4.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07859/0.07978, allocations: 50.34 MB / 404.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.00193/0.08174, allocations: 0.809 MB / 405.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008409/0.0826, allocations: 0.715 MB / 406 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.08264, allocations: 0 / 406 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.08283, allocations: 19.92 kB / 406 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.08293, allocations: 23.91 kB / 406 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.838e-05/0.08296, allocations: 4 kB / 406 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.358e-05/0.083, allocations: 15.94 kB / 406 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.194e-05/0.08304, allocations: 4 kB / 406 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.08306, allocations: 3.938 kB / 406 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.08317, allocations: 23.91 kB / 406.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.674e-06/0.08318, allocations: 0 / 406.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.503e-05/0.08323, allocations: 16 kB / 406.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-06/0.08325, allocations: 0 / 406.1 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.08328, allocations: 11.92 kB / 406.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.08337, allocations: 31.84 kB / 406.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.08338, allocations: 0 / 406.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.08339, allocations: 0 / 406.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.0834, allocations: 4 kB / 406.1 MB, free: 0.7539 MB / 334.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.0003191/0.08372, allocations: 339.7 kB / 406.5 MB, free: 380 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.08376, allocations: 12.03 kB / 406.5 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.526e-05/0.08379, allocations: 30.75 kB / 406.5 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.33e-05/0.08382, allocations: 4.938 kB / 406.5 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.08395, allocations: 168.4 kB / 406.7 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.08397, allocations: 384 / 406.7 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.08398, allocations: 4.375 kB / 406.7 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.102e-05/0.08405, allocations: 39.98 kB / 406.7 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.08407, allocations: 3.938 kB / 406.7 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.08408, allocations: 7.938 kB / 406.7 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.08409, allocations: 0 / 406.7 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.816e-05/0.08411, allocations: 15.98 kB / 406.7 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.08441, allocations: 479.5 kB / 407.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.123e-05/0.08449, allocations: 169.1 kB / 407.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.08453, allocations: 88.17 kB / 407.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.08456, allocations: 75.28 kB / 407.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.08459, allocations: 105.8 kB / 407.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.0846, allocations: 3.938 kB / 407.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.356e-05/0.08467, allocations: 37.62 kB / 407.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.08472, allocations: 126.7 kB / 407.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.08482, allocations: 121.8 kB / 407.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.08484, allocations: 25.7 kB / 407.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.08488, allocations: 88.14 kB / 408 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.08489, allocations: 0 / 408 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.08491, allocations: 9.719 kB / 408 MB, free: 14.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.618e-05/0.085, allocations: 310.8 kB / 408.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-06/0.08501, allocations: 4 kB / 408.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-06/0.08502, allocations: 0 / 408.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.08505, allocations: 87.22 kB / 408.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/0.08508, allocations: 79.27 kB / 408.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.31e-05/0.08513, allocations: 33.61 kB / 408.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.08517, allocations: 79.28 kB / 408.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.0852, allocations: 79.22 kB / 408.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.277e-05/0.08525, allocations: 150.6 kB / 408.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.722e-05/0.08528, allocations: 83.22 kB / 408.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.599e-05/0.08532, allocations: 154.6 kB / 409.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-05/0.0854, allocations: 79.22 kB / 409.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.08543, allocations: 87.2 kB / 409.2 MB, free: 13.38 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.496e-05/0.08552, allocations: 264.3 kB / 409.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.08559, allocations: 101 kB / 409.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.08563, allocations: 116.5 kB / 409.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.124e-05/0.08569, allocations: 180.3 kB / 409.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-05/0.08575, allocations: 184.2 kB / 410.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.432e-05/0.0858, allocations: 180.3 kB / 410.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.08601, allocations: 413.2 kB / 410.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.391e-05/0.08605, allocations: 104.9 kB / 410.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.08609, allocations: 105 kB / 410.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-05/0.08614, allocations: 184.2 kB / 411 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.0862, allocations: 180.3 kB / 411.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.231e-05/0.08625, allocations: 176.3 kB / 411.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.305e-05/0.08631, allocations: 184.2 kB / 411.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.08643, allocations: 312.1 kB / 411.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.0865, allocations: 190 kB / 412 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.08657, allocations: 180.3 kB / 412.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.08665, allocations: 108.9 kB / 412.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.08671, allocations: 180.3 kB / 412.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.08675, allocations: 116.9 kB / 412.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.232e-05/0.08681, allocations: 95.27 kB / 412.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08681, allocations: 0 / 412.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.08705, allocations: 7.938 kB / 412.7 MB, free: 9.672 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 (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.0005225/0.08758, allocations: 0.8846 MB / 413.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 2.696e-05/0.08762, allocations: 3.938 kB / 413.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.08762, allocations: 4 kB / 413.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.08763, allocations: 0 / 413.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.08805, allocations: 0.5224 MB / 414.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.08905, allocations: 1.604 MB / 415.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.08928, allocations: 0.677 MB / 416.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.08931, allocations: 3.953 kB / 416.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.08934, allocations: 19.38 kB / 416.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.08935, allocations: 0 / 416.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.1067, allocations: 1.342 MB / 417.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.107, allocations: 209.2 kB / 418 MB, free: 4.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/1.643, allocations: 0 / 418 MB, free: 4.324 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/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)