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.003558/0.003566, allocations: 188.8 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.261/2.261, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001159/0.001159, allocations: 98.81 kB / 270.9 MB, free: 13.38 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.3003/0.3003, allocations: 43.57 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006395/0.0006397, allocations: 8 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1212, allocations: 58.86 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.00066/0.1219, allocations: 216.7 kB / 490.5 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00325/0.1252, allocations: 1.223 MB / 491.7 MB, free: 7.812 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.1253, allocations: 0 / 491.7 MB, free: 7.812 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.1253, allocations: 0 / 491.7 MB, free: 7.812 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.995e-06/0.1253, allocations: 0 / 491.7 MB, free: 7.812 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.1272, allocations: 438.9 kB / 492.2 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.438e-05/0.1272, allocations: 3.938 kB / 492.2 MB, free: 7.379 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.1273, allocations: 7.984 kB / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.799e-05/0.1273, allocations: 7.938 kB / 492.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.6e-05/0.1274, allocations: 3.984 kB / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.1274, allocations: 0 / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.1291, allocations: 0.636 MB / 492.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.1291, allocations: 3.984 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.1292, allocations: 25.7 kB / 492.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008571/0.1301, allocations: 355.5 kB / 493.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1301, allocations: 0 / 493.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1301, allocations: 0 / 493.2 MB, free: 6.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1301, allocations: 0 / 493.2 MB, free: 6.34 MB / 330.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.0006076/0.1307, allocations: 465 kB / 493.7 MB, free: 5.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.39e-05/0.1308, allocations: 8.031 kB / 493.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.1308, allocations: 30.56 kB / 493.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.1309, allocations: 3.984 kB / 493.7 MB, free: 5.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.131, allocations: 167 kB / 493.9 MB, free: 5.578 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.131, allocations: 8 kB / 493.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.1311, allocations: 0 / 493.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.669e-05/0.1312, allocations: 29.64 kB / 493.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.1312, allocations: 0 / 493.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.1312, allocations: 4 kB / 493.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1312, allocations: 0 / 493.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.1312, allocations: 0 / 493.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.1314, allocations: 149.6 kB / 494.1 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.597e-05/0.1315, allocations: 22.61 kB / 494.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.1315, allocations: 4 kB / 494.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/0.1316, allocations: 60.2 kB / 494.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.1316, allocations: 0 / 494.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002014/0.1318, allocations: 63.45 kB / 494.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1318, allocations: 77.11 kB / 494.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.964e-05/0.1319, allocations: 89.86 kB / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1319, allocations: 29.7 kB / 494.4 MB, free: 4.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.132, allocations: 154.7 kB / 494.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.132, allocations: 4 kB / 494.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.1321, allocations: 0 / 494.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1322, allocations: 310.8 kB / 494.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.1322, allocations: 0 / 494.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.131e-05/0.1322, allocations: 4 kB / 494.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.32e-05/0.1323, allocations: 29.64 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1323, allocations: 3.953 kB / 494.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.264e-05/0.1324, allocations: 67.45 kB / 495 MB, free: 4.336 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.1325, allocations: 36.3 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1325, allocations: 0 / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1325, allocations: 0 / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-06/0.1325, allocations: 4 kB / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1325, allocations: 0 / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.1326, allocations: 7.922 kB / 495 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.1326, allocations: 0 / 495 MB, free: 4.285 MB / 330.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.0001127/0.1327, allocations: 151.5 kB / 495.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.1327, allocations: 7.984 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.315e-05/0.1328, allocations: 3.125 kB / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1328, allocations: 0 / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1328, allocations: 0 / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1328, allocations: 0 / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.1329, allocations: 149.7 kB / 495.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1329, allocations: 0 / 495.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-06/0.1329, allocations: 7.953 kB / 495.3 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.133, allocations: 0 / 495.3 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.133, allocations: 0 / 495.3 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.133, allocations: 3.938 kB / 495.3 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.133, allocations: 4 kB / 495.3 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.1331, allocations: 90.83 kB / 495.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.1332, allocations: 77.11 kB / 495.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1332, allocations: 7.953 kB / 495.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.243e-05/0.1332, allocations: 0 / 495.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.1333, allocations: 0 / 495.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.1333, allocations: 0 / 495.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.898e-05/0.1333, allocations: 83.31 kB / 495.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1333, allocations: 0 / 495.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008235/0.1342, allocations: 203.9 kB / 495.8 MB, free: 3.402 MB / 330.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.002344/0.1365, allocations: 1.132 MB / 496.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.1367, allocations: 55.41 kB / 497 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1367, allocations: 0 / 497 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.536e-05/0.1368, allocations: 55.41 kB / 497 MB, free: 2.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.1369, allocations: 11.88 kB / 497 MB, free: 2.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006316/0.1376, allocations: 222 kB / 497.2 MB, free: 1.867 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1379, allocations: 0.6731 MB / 497.9 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.1379, allocations: 11.44 kB / 497.9 MB, free: 1.156 MB / 330.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1379, allocations: 8.062 kB / 497.9 MB, free: 1.148 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.754/2.891, allocations: 4.616 MB / 0.4908 GB, free: 12.53 MB / 346.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)