Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001513/0.001513, allocations: 182.2 kB / 16.4 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.4 MB / 222.5 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 92.33 kB / 270.9 MB, free: 8.371 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.5598/0.5598, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004677, allocations: 12 kB / 431.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.143, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.6123, allocations: 87.81 MB / 0.5646 GB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.6126, allocations: 63.97 kB / 0.5646 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06993/0.6826, allocations: 16.92 MB / 0.5812 GB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6826, allocations: 0 / 0.5812 GB, free: 13.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.6827, allocations: 1.594 kB / 0.5812 GB, free: 13.62 MB / 410.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.000967/0.6836, allocations: 498.8 kB / 0.5816 GB, free: 13.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.6837, allocations: 8.031 kB / 0.5816 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.6838, allocations: 30.56 kB / 0.5817 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.6838, allocations: 0 / 0.5817 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.6839, allocations: 159.1 kB / 0.5818 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.684, allocations: 3.984 kB / 0.5818 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.684, allocations: 4 kB / 0.5818 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.285e-05/0.6841, allocations: 34.67 kB / 0.5819 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.6841, allocations: 3.984 kB / 0.5819 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.6841, allocations: 0 / 0.5819 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.6841, allocations: 7.953 kB / 0.5819 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.6842, allocations: 4 kB / 0.5819 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.6843, allocations: 145.7 kB / 0.582 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.497e-05/0.6844, allocations: 22.59 kB / 0.582 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-06/0.6844, allocations: 4 kB / 0.582 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/0.6845, allocations: 60.2 kB / 0.5821 GB, free: 12.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.6845, allocations: 2.062 kB / 0.5821 GB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002094/0.6847, allocations: 63.47 kB / 0.5822 GB, free: 12.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.6848, allocations: 77.11 kB / 0.5822 GB, free: 12.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.444e-05/0.6848, allocations: 88.98 kB / 0.5823 GB, free: 12.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.6849, allocations: 25.7 kB / 0.5823 GB, free: 12.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.6849, allocations: 154.7 kB / 0.5825 GB, free: 12.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.685, allocations: 8 kB / 0.5825 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.685, allocations: 0 / 0.5825 GB, free: 12.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6851, allocations: 314.8 kB / 0.5828 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.6852, allocations: 0 / 0.5828 GB, free: 11.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-06/0.6852, allocations: 0 / 0.5828 GB, free: 11.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.6852, allocations: 33.7 kB / 0.5828 GB, free: 11.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6852, allocations: 7.875 kB / 0.5828 GB, free: 11.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.268e-05/0.6853, allocations: 63.39 kB / 0.5829 GB, free: 11.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.6854, allocations: 33.8 kB / 0.5829 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6854, allocations: 0 / 0.5829 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6854, allocations: 0 / 0.5829 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/0.6854, allocations: 0 / 0.5829 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6855, allocations: 0 / 0.5829 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.6855, allocations: 4 kB / 0.5829 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.6855, allocations: 0 / 0.5829 GB, free: 11.55 MB / 410.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 () * 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 0.0001074/0.6856, allocations: 139.5 kB / 0.5831 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.6856, allocations: 7.938 kB / 0.5831 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.6857, allocations: 11.11 kB / 0.5831 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6857, allocations: 0 / 0.5831 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6857, allocations: 0 / 0.5831 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.6857, allocations: 0 / 0.5831 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.6858, allocations: 149.6 kB / 0.5832 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6859, allocations: 0 / 0.5832 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.6859, allocations: 4 kB / 0.5832 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6859, allocations: 0 / 0.5832 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.6859, allocations: 0 / 0.5832 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.6859, allocations: 0 / 0.5832 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.6859, allocations: 7.922 kB / 0.5832 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.6861, allocations: 94.8 kB / 0.5833 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.6861, allocations: 81.02 kB / 0.5834 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.6861, allocations: 3.984 kB / 0.5834 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.6862, allocations: 0 / 0.5834 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.6862, allocations: 4 kB / 0.5834 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.6862, allocations: 0 / 0.5834 GB, free: 10.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.187e-05/0.6863, allocations: 75.28 kB / 0.5835 GB, free: 10.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6863, allocations: 4.031 kB / 0.5835 GB, free: 10.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007331/0.687, allocations: 139.9 kB / 0.5836 GB, free: 10.73 MB / 410.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) * 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.001877/0.6889, allocations: 1.014 MB / 0.5846 GB, free: 9.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.6891, allocations: 59.41 kB / 0.5847 GB, free: 9.688 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6891, allocations: 0 / 0.5847 GB, free: 9.688 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.6891, allocations: 63.41 kB / 0.5847 GB, free: 9.613 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001093/0.6893, allocations: 4 kB / 0.5847 GB, free: 9.609 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.6899, allocations: 204.7 kB / 0.5849 GB, free: 9.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.6902, allocations: 0.677 MB / 0.5856 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.6902, allocations: 11.38 kB / 0.5856 GB, free: 8.652 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.6902, allocations: 0 / 0.5856 GB, free: 8.652 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.676/3.366, allocations: 3.137 MB / 0.5887 GB, free: 5.516 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestStrings.pipe 2>&1)