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.0009289/0.0009289, allocations: 99.86 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.0009315/0.0009317, 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.344/1.344, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.3-master/package.mo): time 0.1293/0.1293, allocations: 2.948 MB / 293.9 MB, free: 3.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003737, allocations: 8 kB / 355.8 MB, free: 3.652 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 51.34 MB / 407.2 MB, free: 260 kB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.001651/0.136, allocations: 1.26 MB / 408.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1371, allocations: 0.953 MB / 409.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.1371, allocations: 4 kB / 409.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.1373, allocations: 19.88 kB / 409.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.1375, allocations: 87.7 kB / 409.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.886e-05/0.1376, allocations: 4 kB / 409.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.13e-05/0.1376, allocations: 27.91 kB / 409.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.784e-05/0.1377, allocations: 4 kB / 409.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.1378, allocations: 15.92 kB / 409.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1379, allocations: 19.91 kB / 409.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.1379, allocations: 0 / 409.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.138, allocations: 87.86 kB / 409.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.1381, allocations: 4 kB / 409.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.1381, allocations: 33.64 kB / 409.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1382, allocations: 92.09 kB / 409.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.1382, allocations: 4 kB / 409.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1383, allocations: 0 / 409.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1383, allocations: 3.938 kB / 409.8 MB, free: 13.62 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.0003795/0.1387, allocations: 371.2 kB / 410.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1387, allocations: 8.031 kB / 410.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.1387, allocations: 30.56 kB / 410.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.1388, allocations: 7.906 kB / 410.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1389, allocations: 182.9 kB / 410.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.1389, allocations: 4 kB / 410.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.1389, allocations: 4 kB / 410.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1391, allocations: 45.69 kB / 410.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.1391, allocations: 3.938 kB / 410.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1391, allocations: 8 kB / 410.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.1391, allocations: 0 / 410.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.152e-05/0.1392, allocations: 23.98 kB / 410.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.1395, allocations: 268.8 kB / 410.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1396, allocations: 46.56 kB / 410.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-06/0.1397, allocations: 4 kB / 410.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1397, allocations: 42.64 kB / 410.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.705e-06/0.1397, allocations: 0 / 410.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001958/0.1399, allocations: 65.62 kB / 410.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.1399, allocations: 55.39 kB / 410.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.14, allocations: 113.8 kB / 411.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.1401, allocations: 25.7 kB / 411.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.1401, allocations: 96.12 kB / 411.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.1401, allocations: 7.812 kB / 411.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.1401, allocations: 7.938 kB / 411.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1403, allocations: 322.8 kB / 411.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.971e-05/0.1403, allocations: 12 kB / 411.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.134e-05/0.1403, allocations: 7.984 kB / 411.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.1404, allocations: 16 kB / 411.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1404, allocations: 4 kB / 411.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000107/0.1405, allocations: 57.67 kB / 411.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.1405, allocations: 4 kB / 411.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.1405, allocations: 0 / 411.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.1405, allocations: 384 / 411.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/0.1406, allocations: 8 kB / 411.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1406, allocations: 0 / 411.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.1406, allocations: 15.92 kB / 411.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-06/0.1407, allocations: 3.938 kB / 411.6 MB, free: 11.56 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 7.202e-05/0.1407, allocations: 124.5 kB / 411.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1408, allocations: 3.906 kB / 411.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.1408, allocations: 3.906 kB / 411.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1408, allocations: 4.328 kB / 411.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-06/0.1408, allocations: 0 / 411.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1408, allocations: 0 / 411.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.141, allocations: 173.6 kB / 411.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.141, allocations: 4 kB / 411.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.141, allocations: 7.984 kB / 412 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.141, allocations: 4 kB / 412 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.141, allocations: 0 / 412 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.141, allocations: 0 / 412 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.141, allocations: 0 / 412 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.1412, allocations: 163.4 kB / 412.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.1413, allocations: 81.11 kB / 412.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.1413, allocations: 3.938 kB / 412.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.061e-05/0.1413, allocations: 4 kB / 412.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.1414, allocations: 11.92 kB / 412.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1414, allocations: 0 / 412.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.1414, allocations: 95.27 kB / 412.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1414, allocations: 0 / 412.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1417, allocations: 32 kB / 412.3 MB, free: 10.77 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.0008655/0.1426, allocations: 0.9155 MB / 413.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.1427, allocations: 31.91 kB / 413.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1427, allocations: 4 kB / 413.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.1428, allocations: 12 kB / 413.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.1429, allocations: 7.938 kB / 413.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/0.1436, allocations: 456.3 kB / 413.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1439, allocations: 0.6927 MB / 414.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.183e-05/0.1439, allocations: 0 / 414.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.144, allocations: 19.42 kB / 414.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.144, allocations: 0 / 414.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.1562, allocations: 2.169 MB / 416.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.1564, allocations: 221 kB / 416.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.824, allocations: 3.984 kB / 416.9 MB, free: 6.305 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: