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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001345, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009559/0.0009559, allocations: 84.05 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3136/0.3136, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.84e-05, allocations: 0 / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.5657, allocations: 87.06 MB / 0.551 GB, free: 7.508 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.5659, allocations: 66.56 kB / 0.5511 GB, free: 7.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0372/0.6031, allocations: 16.87 MB / 0.5676 GB, free: 10.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6032, allocations: 0 / 0.5676 GB, free: 10.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.6032, allocations: 0 / 0.5676 GB, free: 10.44 MB / 378.7 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.0007114/0.6039, allocations: 486.2 kB / 0.568 GB, free: 9.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.604, allocations: 8.031 kB / 0.568 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.604, allocations: 3.953 kB / 0.5681 GB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.6041, allocations: 167.1 kB / 0.5682 GB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.6042, allocations: 4 kB / 0.5682 GB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.6042, allocations: 0 / 0.5682 GB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.562e-05/0.6042, allocations: 3.984 kB / 0.5682 GB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.699e-05/0.6043, allocations: 33.64 kB / 0.5683 GB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6043, allocations: 0 / 0.5683 GB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.6043, allocations: 0 / 0.5683 GB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.6043, allocations: 7.891 kB / 0.5683 GB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.6045, allocations: 124.8 kB / 0.5684 GB, free: 9.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.045e-05/0.6045, allocations: 26.59 kB / 0.5684 GB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.248e-05/0.6045, allocations: 4.859 kB / 0.5684 GB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.6045, allocations: 0 / 0.5684 GB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.6046, allocations: 56.27 kB / 0.5685 GB, free: 9.387 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.6046, allocations: 0.8438 kB / 0.5685 GB, free: 9.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000183/0.6048, allocations: 39.58 kB / 0.5685 GB, free: 9.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.6048, allocations: 77.11 kB / 0.5686 GB, free: 9.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.37e-05/0.6049, allocations: 85 kB / 0.5687 GB, free: 9.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.6049, allocations: 29.73 kB / 0.5687 GB, free: 9.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.976e-05/0.6049, allocations: 87.62 kB / 0.5688 GB, free: 9.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.605, allocations: 0.625 kB / 0.5688 GB, free: 9.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.605, allocations: 0 / 0.5688 GB, free: 9.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6051, allocations: 318.8 kB / 0.5691 GB, free: 8.719 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.6051, allocations: 3.938 kB / 0.5691 GB, free: 8.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.107e-06/0.6051, allocations: 0 / 0.5691 GB, free: 8.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.6052, allocations: 0 / 0.5691 GB, free: 8.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.6052, allocations: 4.062 kB / 0.5691 GB, free: 8.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.12e-05/0.6052, allocations: 33.7 kB / 0.5691 GB, free: 8.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.6053, allocations: 33.69 kB / 0.5691 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6053, allocations: 0 / 0.5691 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.6053, allocations: 4 kB / 0.5691 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-06/0.6053, allocations: 0 / 0.5691 GB, free: 8.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.6053, allocations: 3.938 kB / 0.5692 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.6054, allocations: 0 / 0.5692 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.6054, allocations: 0 / 0.5692 GB, free: 8.625 MB / 378.7 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 () * 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 8.893e-05/0.6055, allocations: 142.2 kB / 0.5693 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.015e-05/0.6055, allocations: 37.69 kB / 0.5693 GB, free: 8.434 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.6055, allocations: 3.906 kB / 0.5693 GB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.243e-05/0.6056, allocations: 3.75 kB / 0.5693 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.6056, allocations: 0 / 0.5693 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6056, allocations: 0 / 0.5693 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6056, allocations: 8 kB / 0.5693 GB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.884e-05/0.6057, allocations: 127.4 kB / 0.5695 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6057, allocations: 0 / 0.5695 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.6057, allocations: 3.938 kB / 0.5695 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.6057, allocations: 4.031 kB / 0.5695 GB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.6057, allocations: 3.984 kB / 0.5695 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.6057, allocations: 0 / 0.5695 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6057, allocations: 4 kB / 0.5695 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.954e-05/0.6058, allocations: 64.84 kB / 0.5695 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.6059, allocations: 77.11 kB / 0.5696 GB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.6059, allocations: 3.984 kB / 0.5696 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-06/0.6059, allocations: 4 kB / 0.5696 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.6059, allocations: 4.031 kB / 0.5696 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.6059, allocations: 0 / 0.5696 GB, free: 8.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.827e-05/0.606, allocations: 75.28 kB / 0.5697 GB, free: 7.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.606, allocations: 0 / 0.5697 GB, free: 7.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005043/0.6065, allocations: 139.3 kB / 0.5698 GB, free: 7.855 MB / 378.7 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) * 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.001204/0.6077, allocations: 0.9851 MB / 0.5708 GB, free: 6.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.974e-05/0.6078, allocations: 55.41 kB / 0.5708 GB, free: 6.816 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6078, allocations: 0 / 0.5708 GB, free: 6.816 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.6078, allocations: 55.41 kB / 0.5709 GB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.673e-05/0.6079, allocations: 0 / 0.5709 GB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.6083, allocations: 165.1 kB / 0.5711 GB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.6085, allocations: 0.6729 MB / 0.5717 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.8e-06/0.6086, allocations: 0 / 0.5717 GB, free: 5.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.6086, allocations: 11.44 kB / 0.5717 GB, free: 5.844 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6086, allocations: 0 / 0.5717 GB, free: 5.844 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.6336, allocations: 3.268 MB / 0.5749 GB, free: 2.586 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.6339, allocations: 152.9 kB / 0.5751 GB, free: 2.395 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.29, allocations: 4 kB / 0.5751 GB, free: 2.391 MB / 378.7 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)