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.0007735/0.0007735, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004515/0.004515, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.322/1.322, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1459/0.1459, allocations: 2.957 MB / 294.4 MB, free: 3.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 8 kB / 356.6 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08797/0.08827, allocations: 51.35 MB / 407.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.001803/0.09011, allocations: 1.264 MB / 409.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.0915, allocations: 0.9921 MB / 410.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.09157, allocations: 3.938 kB / 410.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.09176, allocations: 27.88 kB / 410.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.09206, allocations: 95.53 kB / 410.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.744e-05/0.0921, allocations: 8 kB / 410.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.844e-05/0.09216, allocations: 27.92 kB / 410.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.18e-05/0.09224, allocations: 11.97 kB / 410.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.09229, allocations: 15.92 kB / 410.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.09243, allocations: 15.92 kB / 410.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.09245, allocations: 4 kB / 410.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.09264, allocations: 107.8 kB / 410.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.09266, allocations: 11.94 kB / 410.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.09271, allocations: 37.62 kB / 410.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.09294, allocations: 131.9 kB / 410.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.09295, allocations: 0 / 410.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09296, allocations: 0 / 410.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.09297, allocations: 0 / 410.7 MB, free: 13.11 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.0004346/0.09341, allocations: 367.4 kB / 411 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.09345, allocations: 8.031 kB / 411 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.09349, allocations: 42.69 kB / 411.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.09352, allocations: 8.828 kB / 411.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.09369, allocations: 180.2 kB / 411.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.0937, allocations: 4.375 kB / 411.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.09372, allocations: 384 / 411.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.09384, allocations: 57.62 kB / 411.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.09385, allocations: 0 / 411.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.09387, allocations: 0 / 411.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.09388, allocations: 0 / 411.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.471e-05/0.09398, allocations: 27.98 kB / 411.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.09429, allocations: 264.9 kB / 411.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.09447, allocations: 50.62 kB / 411.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.09454, allocations: 24.94 kB / 411.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.09455, allocations: 0 / 411.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.09458, allocations: 30.56 kB / 411.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.09458, allocations: 0 / 411.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002274/0.09481, allocations: 69.61 kB / 411.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.09486, allocations: 63.41 kB / 411.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.09497, allocations: 117.7 kB / 412 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.09499, allocations: 25.7 kB / 412 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.09503, allocations: 92.12 kB / 412.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.09505, allocations: 7.906 kB / 412.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.09508, allocations: 9.719 kB / 412.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.09519, allocations: 318.8 kB / 412.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.161e-05/0.09524, allocations: 15.98 kB / 412.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-05/0.09529, allocations: 11.98 kB / 412.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.104e-05/0.09538, allocations: 36.78 kB / 412.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.09539, allocations: 0 / 412.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001202/0.09551, allocations: 61.59 kB / 412.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.09554, allocations: 8 kB / 412.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.09555, allocations: 0 / 412.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.09556, allocations: 0 / 412.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/0.09561, allocations: 11.98 kB / 412.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.09562, allocations: 3.938 kB / 412.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.09566, allocations: 7.938 kB / 412.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.09567, allocations: 0 / 412.6 MB, free: 10.99 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 8.642e-05/0.09577, allocations: 117.8 kB / 412.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.0958, allocations: 4.328 kB / 412.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.09583, allocations: 7.906 kB / 412.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.09584, allocations: 3.984 kB / 412.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.09585, allocations: 0 / 412.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.09586, allocations: 7.922 kB / 412.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.09602, allocations: 169.6 kB / 412.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.09604, allocations: 3.984 kB / 412.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.09608, allocations: 8 kB / 412.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.09609, allocations: 0 / 412.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-06/0.0961, allocations: 0 / 412.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.09611, allocations: 4 kB / 412.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.09611, allocations: 0 / 412.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.09628, allocations: 163.4 kB / 413 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.09633, allocations: 77.11 kB / 413.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.09635, allocations: 0 / 413.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/0.09642, allocations: 8.359 kB / 413.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.09646, allocations: 8 kB / 413.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.09647, allocations: 8 kB / 413.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.996e-05/0.09653, allocations: 99.14 kB / 413.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.09654, allocations: 0 / 413.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.09683, allocations: 39.91 kB / 413.3 MB, free: 10.18 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.001034/0.09787, allocations: 0.9069 MB / 414.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.09801, allocations: 27.98 kB / 414.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.09803, allocations: 4 kB / 414.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.681e-05/0.09808, allocations: 19.94 kB / 414.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.09837, allocations: 3.984 kB / 414.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.0996, allocations: 1.324 MB / 415.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.09985, allocations: 0.677 MB / 416.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.765e-05/0.09989, allocations: 7.984 kB / 416.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.09993, allocations: 15.44 kB / 416.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09994, allocations: 0 / 416.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01275/0.1127, allocations: 2.195 MB / 418.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.1129, allocations: 242.4 kB / 418.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/1.841, allocations: 0 / 418.7 MB, free: 4.777 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)