Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.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.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",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.001696/0.001696, allocations: 105.1 kB / 16.4 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.571/1.571, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2099/0.2099, allocations: 43.51 MB / 314.1 MB, free: 444 kB / 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.001581/0.001582, allocations: 75.89 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1116, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004999/0.1166, allocations: 3.408 MB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003408/0.12, allocations: 1.579 MB / 0.4923 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000687/0.1208, allocations: 23.88 kB / 0.4923 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006639/0.1214, allocations: 146.7 kB / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009783/0.1225, allocations: 202.6 kB / 0.4926 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.1239, allocations: 0.5186 MB / 0.4931 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.1252, allocations: 0.9591 MB / 0.4941 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/0.1257, allocations: 230.4 kB / 0.4943 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006522/0.1263, allocations: 386.5 kB / 0.4947 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006555/0.127, allocations: 406.1 kB / 0.4951 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.1272, allocations: 60 kB / 0.4951 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.1275, allocations: 175.7 kB / 0.4953 GB, free: 4.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.1277, allocations: 203.2 kB / 0.4955 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.128, allocations: 341.9 kB / 0.4958 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1291, allocations: 0.9185 MB / 0.4967 GB, free: 2.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1291, allocations: 0 / 0.4967 GB, free: 2.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1291, allocations: 0 / 0.4967 GB, free: 2.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.476e-05/0.1291, allocations: 0 / 0.4967 GB, free: 2.707 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002573/0.1317, allocations: 1.179 MB / 0.4978 GB, free: 1.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1318, allocations: 11.89 kB / 0.4979 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.1319, allocations: 86.7 kB / 0.4979 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.132, allocations: 87.91 kB / 0.498 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.1331, allocations: 0.5934 MB / 0.4986 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.1331, allocations: 37.38 kB / 0.4986 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/0.1332, allocations: 60.28 kB / 0.4987 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.1343, allocations: 0.6058 MB / 0.4993 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.1344, allocations: 0 / 0.4993 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.75e-05/0.1344, allocations: 24 kB / 0.4993 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1345, allocations: 12 kB / 0.4993 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.1356, allocations: 465.8 kB / 0.4998 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.1396, allocations: 2.643 MB / 0.5023 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.1406, allocations: 0.5041 MB / 0.5028 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005925/0.1412, allocations: 262.9 kB / 0.5031 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.1413, allocations: 4.516 kB / 0.5031 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.1414, allocations: 50.77 kB / 0.5031 GB, free: 11.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 3.156e-06/0.1414, allocations: 0 / 0.5031 GB, free: 11.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002868/0.1442, allocations: 1.14 MB / 0.5043 GB, free: 10.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.1443, allocations: 140.5 kB / 0.5044 GB, free: 10.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/0.1453, allocations: 0.6529 MB / 0.505 GB, free: 9.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.1454, allocations: 37.7 kB / 0.5051 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.1457, allocations: 360.7 kB / 0.5054 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.1459, allocations: 177.5 kB / 0.5056 GB, free: 9.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.1461, allocations: 122.2 kB / 0.5057 GB, free: 9.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1462, allocations: 333.9 kB / 0.506 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006771/0.1469, allocations: 291.2 kB / 0.5063 GB, free: 8.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.1477, allocations: 436.4 kB / 0.5067 GB, free: 8.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.149, allocations: 0.7113 MB / 0.5074 GB, free: 7.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.1491, allocations: 3.938 kB / 0.5074 GB, free: 7.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001808/0.1509, allocations: 0.82 MB / 0.5082 GB, free: 6.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1509, allocations: 8 kB / 0.5082 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1509, allocations: 4 kB / 0.5082 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.151, allocations: 8 kB / 0.5082 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/0.1519, allocations: 200.2 kB / 0.5084 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.1519, allocations: 8 kB / 0.5084 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.1525, allocations: 91.41 kB / 0.5085 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.1526, allocations: 24 kB / 0.5085 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008163/0.1534, allocations: 425.2 kB / 0.5089 GB, free: 5.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007023/0.1541, allocations: 436.2 kB / 0.5094 GB, free: 5.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001241/0.1554, allocations: 0.6923 MB / 0.51 GB, free: 4.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.54e-06/0.1554, allocations: 4 kB / 0.51 GB, free: 4.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001578/0.157, allocations: 0.7931 MB / 0.5108 GB, free: 3.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.157, allocations: 8 kB / 0.5108 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.157, allocations: 8.031 kB / 0.5108 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.157, allocations: 8 kB / 0.5108 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008664/0.1579, allocations: 191.8 kB / 0.511 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.1579, allocations: 19.86 kB / 0.511 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.1585, allocations: 79.55 kB / 0.5111 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.1586, allocations: 24 kB / 0.5111 GB, free: 3.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 0 * 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 0.0001795/0.1587, allocations: 220 kB / 0.5113 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.1589, allocations: 79.05 kB / 0.5114 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.1591, allocations: 90.98 kB / 0.5115 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1591, allocations: 7.938 kB / 0.5115 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1591, allocations: 0 / 0.5115 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.1591, allocations: 8.031 kB / 0.5115 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.1612, allocations: 1.256 MB / 0.5127 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.1612, allocations: 0 / 0.5127 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006861/0.1619, allocations: 111.9 kB / 0.5129 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.1619, allocations: 0 / 0.5129 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.162, allocations: 19.98 kB / 0.5129 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.834e-06/0.162, allocations: 7.938 kB / 0.5129 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.162, allocations: 0 / 0.5129 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.1641, allocations: 1.168 MB / 0.514 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.1644, allocations: 196.1 kB / 0.5142 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/0.1645, allocations: 20.11 kB / 0.5142 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005581/0.165, allocations: 51.88 kB / 0.5143 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.1652, allocations: 43.89 kB / 0.5143 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.1652, allocations: 15.98 kB / 0.5143 GB, free: 15.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006513/0.1659, allocations: 463 kB / 0.5148 GB, free: 15.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1659, allocations: 0 / 0.5148 GB, free: 15.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008465/0.1667, allocations: 227.9 kB / 0.515 GB, free: 15.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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.002444/0.1692, allocations: 1.736 MB / 0.5167 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.1714, allocations: 0.99 MB / 0.5177 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1714, allocations: 4 kB / 0.5177 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.1721, allocations: 291.7 kB / 0.5179 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.1732, allocations: 196.3 kB / 0.5181 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.1836, allocations: 6.727 MB / 0.5247 GB, free: 4.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.1841, allocations: 0.9617 MB / 0.5256 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000508/0.1846, allocations: 144.8 kB / 0.5258 GB, free: 3.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.185, allocations: 263.4 kB / 0.526 GB, free: 3.578 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.185, allocations: 0 / 0.526 GB, free: 3.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2359/0.4209, allocations: 16 MB / 0.5416 GB, free: 38.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.114/9.535, allocations: 2.562 kB / 0.5417 GB, free: 38.6 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)