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.001003/0.001003, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009632/0.0009631, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.183/1.183, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.1006/0.1006, allocations: 2.937 MB / 292.9 MB, free: 3.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.89 kB / 354.1 MB, free: 4.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07739/0.07854, allocations: 50.34 MB / 404.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.002508/0.08109, allocations: 1.605 MB / 406 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.08233, allocations: 0.9998 MB / 407 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.08238, allocations: 3.938 kB / 407 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.08254, allocations: 19.92 kB / 407.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.08279, allocations: 87.72 kB / 407.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.02e-05/0.08282, allocations: 4 kB / 407.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.136e-05/0.08287, allocations: 39.86 kB / 407.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.179e-05/0.08294, allocations: 12 kB / 407.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.08298, allocations: 11.92 kB / 407.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.0831, allocations: 23.91 kB / 407.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.08312, allocations: 0 / 407.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.08328, allocations: 111.8 kB / 407.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.0833, allocations: 4 kB / 407.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.08333, allocations: 15.88 kB / 407.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.08352, allocations: 127.9 kB / 407.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.08353, allocations: 0 / 407.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.08353, allocations: 4 kB / 407.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.08354, allocations: 0 / 407.5 MB, free: 15.34 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.000399/0.08395, allocations: 379.4 kB / 407.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.08398, allocations: 8.031 kB / 407.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.08402, allocations: 34.75 kB / 407.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.08405, allocations: 8.844 kB / 407.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.0842, allocations: 180.2 kB / 408.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-06/0.08421, allocations: 4.375 kB / 408.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.08422, allocations: 4.375 kB / 408.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.08433, allocations: 53.62 kB / 408.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.08435, allocations: 7.969 kB / 408.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.08436, allocations: 0 / 408.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.08437, allocations: 0 / 408.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.73e-05/0.08445, allocations: 27.92 kB / 408.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.08473, allocations: 264.9 kB / 408.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.08489, allocations: 46.62 kB / 408.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/0.08494, allocations: 20.94 kB / 408.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-06/0.08496, allocations: 0 / 408.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.08499, allocations: 38.5 kB / 408.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.08499, allocations: 0 / 408.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001849/0.08518, allocations: 65.67 kB / 408.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.08522, allocations: 51.41 kB / 408.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.08532, allocations: 125.7 kB / 408.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.08534, allocations: 25.7 kB / 408.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.08538, allocations: 84.12 kB / 408.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.08541, allocations: 11.91 kB / 408.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.08543, allocations: 9.719 kB / 408.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.08554, allocations: 322.8 kB / 409.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.698e-05/0.08558, allocations: 11.98 kB / 409.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/0.08562, allocations: 15.94 kB / 409.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.107e-05/0.08569, allocations: 25.22 kB / 409.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.08569, allocations: 0 / 409.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001026/0.0858, allocations: 57.58 kB / 409.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.08582, allocations: 9.562 kB / 409.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.08583, allocations: 3.938 kB / 409.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.08585, allocations: 0 / 409.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.759e-05/0.08589, allocations: 8 kB / 409.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.0859, allocations: 0 / 409.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.08593, allocations: 11.92 kB / 409.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.08594, allocations: 0 / 409.4 MB, free: 13.23 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 7.184e-05/0.08602, allocations: 121.7 kB / 409.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.08605, allocations: 0 / 409.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.08607, allocations: 7.906 kB / 409.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.08608, allocations: 4 kB / 409.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.08609, allocations: 4 kB / 409.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.08609, allocations: 0 / 409.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.08624, allocations: 165.6 kB / 409.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.08625, allocations: 0 / 409.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.0863, allocations: 7.984 kB / 409.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.0863, allocations: 4.266 kB / 409.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.08631, allocations: 4 kB / 409.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.08632, allocations: 0 / 409.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.08632, allocations: 0 / 409.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.08647, allocations: 163.4 kB / 409.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.08652, allocations: 85.11 kB / 409.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.08654, allocations: 4 kB / 409.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.47e-05/0.0866, allocations: 0 / 409.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.08663, allocations: 11.92 kB / 409.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.08663, allocations: 0 / 409.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.919e-05/0.08669, allocations: 87.28 kB / 410 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08669, allocations: 0 / 410 MB, free: 12.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.08695, allocations: 39.98 kB / 410.1 MB, free: 12.44 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.000844/0.0878, allocations: 0.9065 MB / 411 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.08793, allocations: 31.91 kB / 411 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.08794, allocations: 8 kB / 411 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.08798, allocations: 8 kB / 411 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.08825, allocations: 8 kB / 411 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.08935, allocations: 1.306 MB / 412.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.08955, allocations: 0.6848 MB / 413 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.447e-05/0.08958, allocations: 4 kB / 413 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.08963, allocations: 19.42 kB / 413 MB, free: 9.414 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08963, allocations: 0 / 413 MB, free: 9.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.1018, allocations: 2.379 MB / 415.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.102, allocations: 235.1 kB / 415.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/1.728, allocations: 7.875 kB / 415.7 MB, free: 6.848 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)