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.001013/0.001013, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.912/1.912, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3794/0.3794, allocations: 43.55 MB / 314.5 MB, free: 8.738 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.0005447/0.0005448, allocations: 14.97 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1437, allocations: 58.85 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0006508/0.1444, allocations: 216.5 kB / 443 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.1469, allocations: 1.228 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.147, allocations: 0 / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.074e-05/0.147, allocations: 0 / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.78e-06/0.147, allocations: 0 / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.1483, allocations: 438.9 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.548e-05/0.1484, allocations: 4 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.1484, allocations: 0 / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.1484, allocations: 8 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.396e-05/0.1485, allocations: 0 / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.332e-06/0.1485, allocations: 0 / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.1496, allocations: 0.6437 MB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.903e-06/0.1496, allocations: 0 / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.1497, allocations: 25.7 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000496/0.1502, allocations: 363.4 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1502, allocations: 0 / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1502, allocations: 0 / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.1502, allocations: 0 / 445.7 MB, free: 10.08 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.0005287/0.1507, allocations: 468.9 kB / 446.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1508, allocations: 8.031 kB / 446.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1508, allocations: 34.56 kB / 446.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.1509, allocations: 7.859 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.151, allocations: 163.1 kB / 446.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.151, allocations: 8 kB / 446.4 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.151, allocations: 0 / 446.4 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.98e-05/0.1511, allocations: 25.7 kB / 446.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1511, allocations: 0 / 446.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.1512, allocations: 4 kB / 446.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1512, allocations: 0 / 446.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.1512, allocations: 3.938 kB / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.1513, allocations: 145.6 kB / 446.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.221e-05/0.1514, allocations: 30.59 kB / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.882e-06/0.1514, allocations: 0 / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.1514, allocations: 56.27 kB / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1515, allocations: 0 / 446.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001807/0.1516, allocations: 63.41 kB / 446.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1517, allocations: 81.09 kB / 446.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.489e-05/0.1518, allocations: 93.86 kB / 446.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1518, allocations: 29.83 kB / 446.9 MB, free: 8.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.1518, allocations: 84.14 kB / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.1518, allocations: 0 / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.1518, allocations: 0 / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.152, allocations: 314.8 kB / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.152, allocations: 0 / 447.3 MB, free: 8.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.152, allocations: 4 kB / 447.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/0.152, allocations: 25.7 kB / 447.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.152, allocations: 0 / 447.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.775e-05/0.1521, allocations: 71.39 kB / 447.4 MB, free: 8.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.1522, allocations: 33.7 kB / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1522, allocations: 0 / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1522, allocations: 0 / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.1522, allocations: 4 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1522, allocations: 0 / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.1522, allocations: 288 / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1522, allocations: 3.938 kB / 447.5 MB, free: 8.086 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.966e-05/0.1523, allocations: 143.5 kB / 447.6 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.1524, allocations: 8.016 kB / 447.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.161e-05/0.1524, allocations: 3.125 kB / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1524, allocations: 0 / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1524, allocations: 0 / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1524, allocations: 3.938 kB / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.1525, allocations: 153.6 kB / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1525, allocations: 0 / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.1525, allocations: 0 / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1525, allocations: 0 / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1526, allocations: 3.984 kB / 447.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1526, allocations: 0 / 447.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.1526, allocations: 8 kB / 447.8 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.595e-05/0.1527, allocations: 90.78 kB / 447.9 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.1527, allocations: 85.05 kB / 448 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1527, allocations: 4 kB / 448 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.1528, allocations: 0 / 448 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.1528, allocations: 4 kB / 448 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1528, allocations: 3.984 kB / 448 MB, free: 7.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.976e-05/0.1528, allocations: 79.31 kB / 448 MB, free: 7.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1528, allocations: 0 / 448 MB, free: 7.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005472/0.1534, allocations: 195.9 kB / 448.2 MB, free: 7.207 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 (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.001525/0.1549, allocations: 1.149 MB / 449.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.155, allocations: 59.34 kB / 449.4 MB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.155, allocations: 0 / 449.4 MB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.125e-05/0.1551, allocations: 55.41 kB / 449.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.359e-05/0.1552, allocations: 0 / 449.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.1556, allocations: 204.2 kB / 449.7 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.156, allocations: 0.6731 MB / 450.4 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.064e-06/0.156, allocations: 128 / 450.4 MB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.156, allocations: 15.44 kB / 450.4 MB, free: 4.953 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.156, allocations: 0 / 450.4 MB, free: 4.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2049/0.3609, allocations: 5.05 MB / 455.4 MB, free: 45.92 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.3611, allocations: 211 kB / 455.6 MB, free: 45.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.192, allocations: 0 / 455.6 MB, free: 45.69 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/linux/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) Environment - environmentSimulation: