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.0009671/0.0009671, allocations: 97.72 kB / 16.02 MB, free: 84 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.00102/0.00102, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.355/1.355, allocations: 205.4 MB / 223.1 MB, free: 5.535 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.3386/0.3386, allocations: 43.57 MB / 315 MB, free: 9.047 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.0004707/0.0004708, allocations: 15.98 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09515/0.09563, allocations: 58.86 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0005118/0.09618, allocations: 220.4 kB / 443.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.09818, allocations: 1.344 MB / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.063e-05/0.09821, allocations: 0 / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.09823, allocations: 3.938 kB / 445.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.208e-06/0.09824, allocations: 4 kB / 445.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.09918, allocations: 447 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.851e-05/0.09922, allocations: 4 kB / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.09926, allocations: 0 / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.32e-05/0.09928, allocations: 0 / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.915e-05/0.09931, allocations: 7.922 kB / 445.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.05e-06/0.09932, allocations: 0 / 445.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02597/0.1253, allocations: 2.33 MB / 447.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.1253, allocations: 4 kB / 447.9 MB, free: 8.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.1254, allocations: 25.7 kB / 447.9 MB, free: 8.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.1257, allocations: 167.7 kB / 448.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1257, allocations: 0 / 448.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1258, allocations: 0 / 448.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1258, allocations: 0 / 448.1 MB, free: 8.309 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.000356/0.1261, allocations: 381.2 kB / 448.4 MB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1262, allocations: 8.031 kB / 448.5 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.1262, allocations: 38.75 kB / 448.5 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.292e-05/0.1262, allocations: 4.844 kB / 448.5 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/0.1263, allocations: 168.3 kB / 448.7 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1263, allocations: 384 / 448.7 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.1264, allocations: 384 / 448.7 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.192e-05/0.1264, allocations: 41.62 kB / 448.7 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.1265, allocations: 3.984 kB / 448.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.1265, allocations: 0 / 448.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1265, allocations: 0 / 448.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.489e-05/0.1265, allocations: 0 / 448.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.1266, allocations: 145.7 kB / 448.8 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.704e-05/0.1267, allocations: 22.52 kB / 448.9 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.1267, allocations: 8.953 kB / 448.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.1267, allocations: 3.938 kB / 448.9 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.1267, allocations: 64.25 kB / 448.9 MB, free: 7.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1268, allocations: 0 / 448.9 MB, free: 7.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.1269, allocations: 59.41 kB / 449 MB, free: 7.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.127, allocations: 85.17 kB / 449.1 MB, free: 7.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.328e-05/0.127, allocations: 89.86 kB / 449.2 MB, free: 6.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.127, allocations: 25.7 kB / 449.2 MB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.1271, allocations: 88.08 kB / 449.3 MB, free: 6.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.1271, allocations: 4 kB / 449.3 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.1271, allocations: 13.72 kB / 449.3 MB, free: 6.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.1272, allocations: 314.8 kB / 449.6 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.1272, allocations: 0 / 449.6 MB, free: 6.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-06/0.1272, allocations: 0 / 449.6 MB, free: 6.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.18e-05/0.1273, allocations: 64.33 kB / 449.7 MB, free: 6.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1273, allocations: 0 / 449.7 MB, free: 6.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.283e-05/0.1274, allocations: 71.33 kB / 449.7 MB, free: 6.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.1274, allocations: 29.7 kB / 449.8 MB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1274, allocations: 7.938 kB / 449.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1274, allocations: 0 / 449.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-06/0.1275, allocations: 0 / 449.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1275, allocations: 3.938 kB / 449.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.1275, allocations: 0 / 449.8 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.1275, allocations: 4.031 kB / 449.8 MB, free: 6.312 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.633e-05/0.1276, allocations: 135.5 kB / 449.9 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.1276, allocations: 3.938 kB / 449.9 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.108e-05/0.1276, allocations: 7.109 kB / 449.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1276, allocations: 0 / 449.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1276, allocations: 0 / 449.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1276, allocations: 0 / 449.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.662e-05/0.1277, allocations: 145.7 kB / 450.1 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1277, allocations: 0 / 450.1 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-06/0.1277, allocations: 7.938 kB / 450.1 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1277, allocations: 0 / 450.1 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1277, allocations: 0 / 450.1 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1278, allocations: 4 kB / 450.1 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1278, allocations: 3.984 kB / 450.1 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.887e-05/0.1279, allocations: 90.83 kB / 450.2 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.1279, allocations: 81.05 kB / 450.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1279, allocations: 7.984 kB / 450.3 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.1279, allocations: 11.97 kB / 450.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.128, allocations: 0 / 450.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.128, allocations: 0 / 450.3 MB, free: 5.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.986e-05/0.128, allocations: 75.28 kB / 450.4 MB, free: 5.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.128, allocations: 0 / 450.4 MB, free: 5.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1283, allocations: 71.98 kB / 450.4 MB, free: 5.57 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.000972/0.1293, allocations: 0.9173 MB / 451.3 MB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.524e-05/0.1294, allocations: 59.39 kB / 451.4 MB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1294, allocations: 3.938 kB / 451.4 MB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.015e-05/0.1294, allocations: 55.41 kB / 451.5 MB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1295, allocations: 4 kB / 451.5 MB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.1298, allocations: 136.3 kB / 451.6 MB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.1301, allocations: 0.6731 MB / 452.3 MB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.513e-06/0.1301, allocations: 4.125 kB / 452.3 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.1301, allocations: 11.44 kB / 452.3 MB, free: 3.582 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1301, allocations: 0 / 452.3 MB, free: 3.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.1436, allocations: 2.854 MB / 455.1 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.1439, allocations: 227.6 kB / 455.4 MB, free: 480 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/1.906, allocations: 0 / 455.4 MB, free: 480 kB / 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)