Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",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.00167/0.00167, allocations: 104 kB / 15.98 MB, free: 6.348 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.002063/0.002063, allocations: 192.1 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 222.8 MB, free: 4.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3301/0.3301, allocations: 43.5 MB / 313.6 MB, free: 8.223 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 68.47 kB / 382.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 57.79 MB / 440.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001782/0.1177, allocations: 0.5386 MB / 440.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.1199, allocations: 1.304 MB / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.221e-05/0.1199, allocations: 3.938 kB / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.12, allocations: 0 / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.158e-06/0.12, allocations: 0 / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.1214, allocations: 0.5107 MB / 442.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.74e-05/0.1214, allocations: 0 / 442.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.1215, allocations: 4 kB / 442.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.289e-05/0.1215, allocations: 0 / 442.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.79e-05/0.1215, allocations: 8 kB / 442.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-06/0.1215, allocations: 0 / 442.5 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02785/0.1494, allocations: 2.492 MB / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.1494, allocations: 0 / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.1495, allocations: 0 / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.1501, allocations: 167.7 kB / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1501, allocations: 0 / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1501, allocations: 0 / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1502, allocations: 0 / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004213/0.1506, allocations: 377.2 kB / 445.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.1506, allocations: 15.89 kB / 445.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.1507, allocations: 38.67 kB / 445.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.1507, allocations: 4.844 kB / 445.6 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1509, allocations: 168.4 kB / 445.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1509, allocations: 384 / 445.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1509, allocations: 384 / 445.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.151, allocations: 33.64 kB / 445.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.151, allocations: 4 kB / 445.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.151, allocations: 0 / 445.8 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1511, allocations: 3.938 kB / 445.8 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.141e-05/0.1511, allocations: 4 kB / 445.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.1512, allocations: 145.7 kB / 445.9 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.824e-05/0.1513, allocations: 18.52 kB / 445.9 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.1513, allocations: 12.95 kB / 445.9 MB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.1513, allocations: 3.938 kB / 445.9 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.1514, allocations: 60.27 kB / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.1514, allocations: 0 / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001743/0.1516, allocations: 67.33 kB / 446.1 MB, free: 8.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.1516, allocations: 77.11 kB / 446.1 MB, free: 8.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.115e-05/0.1517, allocations: 89.86 kB / 446.2 MB, free: 8.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.1517, allocations: 29.7 kB / 446.3 MB, free: 8.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.1517, allocations: 84.14 kB / 446.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.853e-05/0.1517, allocations: 128 / 446.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.1518, allocations: 13.72 kB / 446.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1519, allocations: 310.8 kB / 446.7 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.1519, allocations: 4 kB / 446.7 MB, free: 7.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.1519, allocations: 0 / 446.7 MB, free: 7.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.107e-05/0.152, allocations: 64.25 kB / 446.7 MB, free: 7.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.152, allocations: 0 / 446.7 MB, free: 7.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.926e-05/0.1521, allocations: 79.22 kB / 446.8 MB, free: 7.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.1521, allocations: 33.8 kB / 446.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1521, allocations: 0 / 446.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1522, allocations: 0 / 446.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-06/0.1522, allocations: 0 / 446.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1522, allocations: 3.984 kB / 446.8 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.1522, allocations: 4 kB / 446.8 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1522, allocations: 0 / 446.8 MB, free: 7.406 MB / 382.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.329e-05/0.1523, allocations: 131.5 kB / 447 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.1523, allocations: 7.938 kB / 447 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-06/0.1523, allocations: 7.125 kB / 447 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1523, allocations: 0 / 447 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1523, allocations: 0 / 447 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1523, allocations: 0 / 447 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.525e-05/0.1524, allocations: 149.7 kB / 447.1 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1524, allocations: 0 / 447.1 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-06/0.1524, allocations: 7.938 kB / 447.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1524, allocations: 0 / 447.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1525, allocations: 0 / 447.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1525, allocations: 0 / 447.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1525, allocations: 0 / 447.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.537e-05/0.1526, allocations: 98.77 kB / 447.2 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.1526, allocations: 84.98 kB / 447.3 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.1526, allocations: 0 / 447.3 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-06/0.1526, allocations: 0 / 447.3 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.1527, allocations: 4 kB / 447.3 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.1527, allocations: 0 / 447.3 MB, free: 6.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.407e-05/0.1527, allocations: 75.28 kB / 447.4 MB, free: 6.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1527, allocations: 4.031 kB / 447.4 MB, free: 6.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.153, allocations: 75.92 kB / 447.5 MB, free: 6.664 MB / 382.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001138/0.1542, allocations: 0.9213 MB / 448.4 MB, free: 5.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.1543, allocations: 59.34 kB / 448.5 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1543, allocations: 0 / 448.5 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.1543, allocations: 63.45 kB / 448.5 MB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.1545, allocations: 4.062 kB / 448.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.1549, allocations: 142.5 kB / 448.7 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.1551, allocations: 0.6728 MB / 449.3 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.003e-06/0.1551, allocations: 0 / 449.3 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.1551, allocations: 11.44 kB / 449.3 MB, free: 4.672 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1551, allocations: 0 / 449.3 MB, free: 4.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.1683, allocations: 2.981 MB / 452.3 MB, free: 1.68 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.1685, allocations: 224.4 kB / 452.5 MB, free: 1.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/1.998, allocations: 0 / 452.5 MB, free: 1.426 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1)