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.001596/0.001596, allocations: 180.6 kB / 15.76 MB, free: 6.363 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.792/1.792, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008871/0.000887, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1905/0.1905, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002976, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3118/0.4188, allocations: 87.82 MB / 0.5646 GB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.419, allocations: 62.06 kB / 0.5647 GB, free: 11.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04158/0.4606, allocations: 16.92 MB / 0.5812 GB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4607, allocations: 0 / 0.5812 GB, free: 13.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.4607, allocations: 3.938 kB / 0.5812 GB, free: 13.5 MB / 394.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.0008272/0.4615, allocations: 495.4 kB / 0.5817 GB, free: 12.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4616, allocations: 8.031 kB / 0.5817 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.127e-05/0.4616, allocations: 30.56 kB / 0.5817 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.4617, allocations: 7.953 kB / 0.5817 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.235e-05/0.4617, allocations: 159.1 kB / 0.5819 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.4618, allocations: 0 / 0.5819 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.4618, allocations: 4 kB / 0.5819 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.144e-05/0.4618, allocations: 33.62 kB / 0.5819 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-06/0.4619, allocations: 0 / 0.5819 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.4619, allocations: 0 / 0.5819 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4619, allocations: 7.953 kB / 0.5819 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.517e-05/0.4619, allocations: 0 / 0.5819 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.462, allocations: 149.5 kB / 0.582 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.138e-05/0.4621, allocations: 18.61 kB / 0.5821 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.4621, allocations: 0 / 0.5821 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.4621, allocations: 60.25 kB / 0.5821 GB, free: 12.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.4621, allocations: 0 / 0.5821 GB, free: 12.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.4623, allocations: 67.22 kB / 0.5822 GB, free: 12.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4623, allocations: 81.23 kB / 0.5823 GB, free: 12.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.842e-05/0.4624, allocations: 85 kB / 0.5823 GB, free: 12.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.4624, allocations: 25.7 kB / 0.5824 GB, free: 12.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.425e-05/0.4624, allocations: 80.14 kB / 0.5824 GB, free: 12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.4624, allocations: 4.625 kB / 0.5824 GB, free: 12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.4624, allocations: 0 / 0.5824 GB, free: 12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.4625, allocations: 318.8 kB / 0.5827 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/0.4625, allocations: 0 / 0.5827 GB, free: 11.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-06/0.4626, allocations: 3.938 kB / 0.5828 GB, free: 11.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.741e-05/0.4626, allocations: 33.77 kB / 0.5828 GB, free: 11.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4626, allocations: 0 / 0.5828 GB, free: 11.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.743e-05/0.4627, allocations: 63.34 kB / 0.5828 GB, free: 11.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.4627, allocations: 29.7 kB / 0.5829 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4627, allocations: 3.938 kB / 0.5829 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4627, allocations: 3.984 kB / 0.5829 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.4627, allocations: 0 / 0.5829 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.4628, allocations: 4 kB / 0.5829 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.4628, allocations: 4 kB / 0.5829 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.4628, allocations: 4.031 kB / 0.5829 GB, free: 11.51 MB / 394.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 7.45e-05/0.4629, allocations: 139.5 kB / 0.583 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.4629, allocations: 11.48 kB / 0.583 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.153e-05/0.4629, allocations: 3.125 kB / 0.583 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4629, allocations: 0 / 0.583 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4629, allocations: 3.938 kB / 0.583 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.4629, allocations: 0 / 0.583 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.21e-05/0.463, allocations: 149.6 kB / 0.5832 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.463, allocations: 0 / 0.5832 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.463, allocations: 4 kB / 0.5832 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.463, allocations: 4 kB / 0.5832 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.463, allocations: 0 / 0.5832 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.463, allocations: 0 / 0.5832 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4631, allocations: 0 / 0.5832 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.2e-05/0.4632, allocations: 101.9 kB / 0.5833 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.4632, allocations: 77.11 kB / 0.5834 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.4632, allocations: 0 / 0.5834 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-06/0.4632, allocations: 4.031 kB / 0.5834 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.4632, allocations: 4 kB / 0.5834 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.4632, allocations: 0 / 0.5834 GB, free: 10.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.551e-05/0.4633, allocations: 79.09 kB / 0.5834 GB, free: 10.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4633, allocations: 0 / 0.5834 GB, free: 10.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004755/0.4638, allocations: 147 kB / 0.5836 GB, free: 10.7 MB / 394.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.001246/0.465, allocations: 1.006 MB / 0.5846 GB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.44e-05/0.4651, allocations: 63.14 kB / 0.5846 GB, free: 9.641 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4651, allocations: 0 / 0.5846 GB, free: 9.641 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.4652, allocations: 55.41 kB / 0.5847 GB, free: 9.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.4653, allocations: 4 kB / 0.5847 GB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.4657, allocations: 183.3 kB / 0.5849 GB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.466, allocations: 0.6731 MB / 0.5855 GB, free: 8.652 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.094e-06/0.466, allocations: 4.125 kB / 0.5855 GB, free: 8.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.466, allocations: 7.438 kB / 0.5855 GB, free: 8.641 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.466, allocations: 0 / 0.5855 GB, free: 8.641 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.4826, allocations: 3.624 MB / 0.5891 GB, free: 5.047 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/0.4829, allocations: 212.1 kB / 0.5893 GB, free: 4.797 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.074, allocations: 0 / 0.5893 GB, free: 4.797 MB / 394.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)