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.001674/0.00168, allocations: 104.5 kB / 16.27 MB, free: 5.93 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.001871/0.001871, allocations: 187.9 kB / 17.2 MB, free: 5.578 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.933/1.933, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2744/0.2744, allocations: 43.53 MB / 313.9 MB, free: 0.5195 MB / 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.001873/0.001874, allocations: 64.97 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1446, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004827/0.1495, allocations: 3.405 MB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.1532, allocations: 1.579 MB / 445.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007582/0.154, allocations: 19.88 kB / 445.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.1547, allocations: 146.8 kB / 445.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.1552, allocations: 206.4 kB / 446 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1565, allocations: 0.5143 MB / 446.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009385/0.1575, allocations: 0.9589 MB / 447.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003906/0.1579, allocations: 234.3 kB / 447.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005317/0.1584, allocations: 358.6 kB / 448 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004831/0.1589, allocations: 410 kB / 448.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.159, allocations: 60 kB / 448.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.1593, allocations: 183.7 kB / 448.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002321/0.1595, allocations: 199.3 kB / 448.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.1599, allocations: 349.9 kB / 449.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.1609, allocations: 0.8759 MB / 450.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1609, allocations: 4 kB / 450.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1609, allocations: 0 / 450.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1609, allocations: 0 / 450.1 MB, free: 13.3 MB / 334.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.00249/0.1634, allocations: 1.172 MB / 451.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1635, allocations: 15.89 kB / 451.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.1636, allocations: 78.72 kB / 451.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.1638, allocations: 87.91 kB / 451.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.1648, allocations: 0.5739 MB / 452 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/0.1649, allocations: 37.38 kB / 452 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.1651, allocations: 60.28 kB / 452.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.1668, allocations: 0.6058 MB / 452.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.1669, allocations: 3.938 kB / 452.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.167, allocations: 28 kB / 452.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.167, allocations: 15.98 kB / 452.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.1689, allocations: 465.8 kB / 453.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006107/0.175, allocations: 2.643 MB / 455.8 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.1768, allocations: 0.5028 MB / 456.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000959/0.1778, allocations: 266.8 kB / 456.6 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.172e-05/0.1779, allocations: 8.219 kB / 456.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.178, allocations: 38.8 kB / 456.6 MB, free: 6.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.344e-06/0.178, allocations: 0 / 456.6 MB, free: 6.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=46): time 0.002853/0.1808, allocations: 1.156 MB / 457.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/0.1809, allocations: 136.5 kB / 457.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009886/0.1819, allocations: 0.6568 MB / 458.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.182, allocations: 33.7 kB / 458.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.1823, allocations: 372.7 kB / 459 MB, free: 4.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.1825, allocations: 173.5 kB / 459.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.1827, allocations: 122.2 kB / 459.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1829, allocations: 337.9 kB / 459.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006547/0.1836, allocations: 283.3 kB / 459.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007786/0.1843, allocations: 436.3 kB / 460.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.1858, allocations: 0.7212 MB / 461 MB, free: 1.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1858, allocations: 4 kB / 461 MB, free: 1.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001834/0.1876, allocations: 0.8201 MB / 461.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.1877, allocations: 8 kB / 461.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.1877, allocations: 8.031 kB / 461.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.1877, allocations: 8 kB / 461.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009128/0.1886, allocations: 199.7 kB / 462.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.1887, allocations: 11.94 kB / 462.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/0.1893, allocations: 87.41 kB / 462.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/0.1893, allocations: 28 kB / 462.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008152/0.1901, allocations: 421.2 kB / 462.6 MB, free: 252 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000735/0.1909, allocations: 424.5 kB / 463 MB, free: 15.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001295/0.1922, allocations: 0.6884 MB / 463.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.1922, allocations: 0 / 463.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001624/0.1938, allocations: 0.8006 MB / 464.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1939, allocations: 11.98 kB / 464.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1939, allocations: 4 kB / 464.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1939, allocations: 8 kB / 464.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/0.1947, allocations: 191.7 kB / 464.7 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.1948, allocations: 12.19 kB / 464.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.1953, allocations: 79.55 kB / 464.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.1954, allocations: 27.98 kB / 464.8 MB, free: 13.88 MB / 350.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.0002882/0.1957, allocations: 220.8 kB / 465.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.1959, allocations: 79.06 kB / 465.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.1961, allocations: 90.98 kB / 465.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.1961, allocations: 11.94 kB / 465.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.1961, allocations: 4 kB / 465.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.1962, allocations: 3.984 kB / 465.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.1982, allocations: 1.26 MB / 466.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.1983, allocations: 4 kB / 466.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.1989, allocations: 103.9 kB / 466.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.1989, allocations: 4 kB / 466.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.199, allocations: 15.98 kB / 466.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.199, allocations: 4 kB / 466.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.199, allocations: 4 kB / 466.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.2012, allocations: 1.168 MB / 467.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.2015, allocations: 204.1 kB / 468 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.958e-05/0.2016, allocations: 12 kB / 468 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.2021, allocations: 55.88 kB / 468.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.2023, allocations: 39.89 kB / 468.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/0.2023, allocations: 19.98 kB / 468.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007231/0.203, allocations: 459 kB / 468.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.203, allocations: 0 / 468.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001094/0.2041, allocations: 220 kB / 468.8 MB, free: 9.82 MB / 350.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.0032/0.2074, allocations: 1.744 MB / 470.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.2102, allocations: 1.017 MB / 471.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.2102, allocations: 0 / 471.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006979/0.2109, allocations: 295.6 kB / 471.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.2124, allocations: 203.1 kB / 472 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.2248, allocations: 7.004 MB / 479 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/0.2255, allocations: 0.9501 MB / 480 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006403/0.2262, allocations: 144.8 kB / 480.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004143/0.2266, allocations: 263.3 kB / 480.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of SimCode: time 1.303e-06/0.2266, allocations: 0 / 480.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04503/0.2716, allocations: 15.5 MB / 495.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.713/8.985, allocations: 15.22 kB / 495.9 MB, free: 14.36 MB / 382.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)