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.001139/0.001139, allocations: 96.14 kB / 15.87 MB, free: 16 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.001146/0.001146, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.14/1.14, allocations: 205.1 MB / 222.6 MB, free: 4.98 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.2767/0.2767, allocations: 43.49 MB / 313.5 MB, free: 8.32 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.00152/0.00152, allocations: 59.91 kB / 382.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.09796, allocations: 57.79 MB / 439.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001345/0.09934, allocations: 0.5425 MB / 440.5 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1014, allocations: 1.39 MB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.556e-06/0.1014, allocations: 0 / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.123e-05/0.1014, allocations: 4 kB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.637e-06/0.1014, allocations: 0 / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009152/0.1024, allocations: 451 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.202e-05/0.1024, allocations: 0 / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.626e-05/0.1024, allocations: 4 kB / 442.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.126e-05/0.1024, allocations: 0 / 442.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.377e-05/0.1025, allocations: 0 / 442.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-06/0.1025, allocations: 0 / 442.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02472/0.1272, allocations: 2.353 MB / 444.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-06/0.1272, allocations: 0 / 444.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.1272, allocations: 0 / 444.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1275, allocations: 167.7 kB / 444.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1275, allocations: 0 / 444.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.1275, allocations: 0 / 444.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1275, allocations: 0 / 444.8 MB, free: 9.957 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.0003103/0.1279, allocations: 377.2 kB / 445.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1279, allocations: 12.03 kB / 445.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.1279, allocations: 38.69 kB / 445.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.128, allocations: 8.844 kB / 445.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.289e-05/0.1281, allocations: 164.4 kB / 445.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-06/0.1281, allocations: 384 / 445.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.1281, allocations: 4.375 kB / 445.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.914e-05/0.1281, allocations: 29.64 kB / 445.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.1282, allocations: 0 / 445.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.1282, allocations: 0 / 445.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1282, allocations: 0 / 445.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.1282, allocations: 4 kB / 445.4 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/0.1283, allocations: 149.7 kB / 445.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.1284, allocations: 26.55 kB / 445.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.214e-05/0.1284, allocations: 8.859 kB / 445.6 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.1284, allocations: 3.938 kB / 445.6 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.1284, allocations: 56.27 kB / 445.7 MB, free: 8.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1284, allocations: 0 / 445.7 MB, free: 8.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000141/0.1286, allocations: 63.55 kB / 445.7 MB, free: 8.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1286, allocations: 85.08 kB / 445.8 MB, free: 8.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.329e-05/0.1287, allocations: 97.86 kB / 445.9 MB, free: 8.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.1287, allocations: 25.7 kB / 445.9 MB, free: 8.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.1287, allocations: 80.14 kB / 446 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.1287, allocations: 0 / 446 MB, free: 8.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1288, allocations: 9.719 kB / 446 MB, free: 8.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.711e-05/0.1289, allocations: 314.8 kB / 446.3 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.1289, allocations: 0 / 446.3 MB, free: 8.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.1289, allocations: 4 kB / 446.3 MB, free: 8.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/0.1289, allocations: 68.25 kB / 446.4 MB, free: 8.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.129, allocations: 0 / 446.4 MB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.917e-05/0.129, allocations: 71.22 kB / 446.5 MB, free: 8.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.1291, allocations: 33.64 kB / 446.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1291, allocations: 0 / 446.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.1291, allocations: 0 / 446.5 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.023e-06/0.1291, allocations: 4 kB / 446.5 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1291, allocations: 8.078 kB / 446.5 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.1291, allocations: 4 kB / 446.5 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1291, allocations: 3.984 kB / 446.5 MB, free: 7.957 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.637e-05/0.1292, allocations: 139.5 kB / 446.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-06/0.1292, allocations: 3.938 kB / 446.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-06/0.1292, allocations: 7.125 kB / 446.7 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1292, allocations: 0 / 446.7 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1292, allocations: 0 / 446.7 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.1293, allocations: 0 / 446.7 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.387e-05/0.1293, allocations: 153.7 kB / 446.8 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1293, allocations: 0 / 446.8 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.1294, allocations: 3.938 kB / 446.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1294, allocations: 0 / 446.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.1294, allocations: 0 / 446.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.1294, allocations: 0 / 446.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1294, allocations: 0 / 446.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.921e-05/0.1295, allocations: 94.77 kB / 446.9 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.1295, allocations: 85.08 kB / 447 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.1295, allocations: 0 / 447 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-06/0.1295, allocations: 4 kB / 447 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.1295, allocations: 0 / 447 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.1296, allocations: 0 / 447 MB, free: 7.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.222e-05/0.1296, allocations: 75.28 kB / 447.1 MB, free: 7.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1296, allocations: 0 / 447.1 MB, free: 7.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.1299, allocations: 71.92 kB / 447.2 MB, free: 7.223 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.0008834/0.1308, allocations: 0.9213 MB / 448.1 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.1309, allocations: 59.34 kB / 448.1 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1309, allocations: 0 / 448.1 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.144e-05/0.1309, allocations: 63.39 kB / 448.2 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.131, allocations: 4 kB / 448.2 MB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.1313, allocations: 132.3 kB / 448.3 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.1315, allocations: 0.6733 MB / 449 MB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.578e-06/0.1315, allocations: 0 / 449 MB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-06/0.1315, allocations: 11.44 kB / 449 MB, free: 5.238 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1316, allocations: 0 / 449 MB, free: 5.238 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2207/0.3522, allocations: 2.94 MB / 451.9 MB, free: 2.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.3525, allocations: 228.2 kB / 452.2 MB, free: 2.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.154, allocations: 0 / 452.2 MB, free: 2.012 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)