Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001586, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001782/0.001782, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2767/0.2767, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002258, allocations: 90.25 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1515, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005895/0.1575, allocations: 3.387 MB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00358/0.1611, allocations: 1.587 MB / 485.2 MB, free: 152 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.1615, allocations: 27.88 kB / 485.2 MB, free: 124 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.1621, allocations: 146.8 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.1626, allocations: 186.5 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.164, allocations: 0.5408 MB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.1651, allocations: 0.928 MB / 487 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.1655, allocations: 238.3 kB / 487.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.1661, allocations: 366.6 kB / 487.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005719/0.1666, allocations: 414 kB / 488 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.1668, allocations: 64 kB / 488.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.1671, allocations: 179.7 kB / 488.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.1674, allocations: 199.3 kB / 488.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.1677, allocations: 341.8 kB / 488.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1688, allocations: 0.8838 MB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1688, allocations: 4 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1688, allocations: 0 / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1688, allocations: 0 / 489.6 MB, free: 11.66 MB / 366.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.00243/0.1713, allocations: 1.168 MB / 490.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1713, allocations: 9.109 kB / 490.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.1714, allocations: 86.72 kB / 490.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.1717, allocations: 103.8 kB / 491 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000946/0.1727, allocations: 0.5584 MB / 491.6 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.1727, allocations: 41.38 kB / 491.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.1728, allocations: 60.28 kB / 491.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.1743, allocations: 0.6144 MB / 492.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.1743, allocations: 7.938 kB / 492.3 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.1744, allocations: 27.94 kB / 492.3 MB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1744, allocations: 12 kB / 492.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.1755, allocations: 461.8 kB / 492.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.1791, allocations: 2.655 MB / 495.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.1802, allocations: 0.504 MB / 495.9 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.1808, allocations: 262.9 kB / 496.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.1808, allocations: 4.234 kB / 496.2 MB, free: 4.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1809, allocations: 42.73 kB / 496.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.773e-06/0.1809, allocations: 0 / 496.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002472/0.1833, allocations: 1.146 MB / 497.4 MB, free: 3.605 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.1835, allocations: 166.2 kB / 497.5 MB, free: 3.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009426/0.1844, allocations: 0.6567 MB / 498.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.1845, allocations: 33.7 kB / 498.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.1848, allocations: 364.8 kB / 498.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.185, allocations: 177.4 kB / 498.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.1852, allocations: 114.3 kB / 498.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1854, allocations: 337.9 kB / 499.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006596/0.186, allocations: 283.3 kB / 499.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007955/0.1868, allocations: 445.2 kB / 499.9 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.1883, allocations: 0.7152 MB / 0.4889 GB, free: 156 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1883, allocations: 0 / 0.4889 GB, free: 156 kB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001724/0.19, allocations: 0.8243 MB / 0.4897 GB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1901, allocations: 8 kB / 0.4897 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1901, allocations: 8.031 kB / 0.4897 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1901, allocations: 8 kB / 0.4897 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/0.191, allocations: 191.8 kB / 0.4899 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.191, allocations: 11.94 kB / 0.4899 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.1916, allocations: 87.56 kB / 0.49 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.1916, allocations: 20.05 kB / 0.49 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008348/0.1925, allocations: 425.2 kB / 0.4904 GB, free: 14.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007219/0.1932, allocations: 425.3 kB / 0.4908 GB, free: 14.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001295/0.1945, allocations: 0.7012 MB / 0.4915 GB, free: 13.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.1945, allocations: 4 kB / 0.4915 GB, free: 13.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001587/0.1961, allocations: 0.8036 MB / 0.4923 GB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1961, allocations: 8 kB / 0.4923 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1962, allocations: 4 kB / 0.4923 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1962, allocations: 8 kB / 0.4923 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/0.197, allocations: 196 kB / 0.4925 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.197, allocations: 19.88 kB / 0.4925 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.1976, allocations: 79.47 kB / 0.4926 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.1976, allocations: 24 kB / 0.4926 GB, free: 12.18 MB / 382.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.0002267/0.1979, allocations: 220 kB / 0.4928 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.198, allocations: 75.16 kB / 0.4929 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.1982, allocations: 98.89 kB / 0.493 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.1982, allocations: 7.938 kB / 0.493 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1983, allocations: 0 / 0.493 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1983, allocations: 7.984 kB / 0.493 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.2003, allocations: 1.268 MB / 0.4943 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2003, allocations: 3.984 kB / 0.4943 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/0.201, allocations: 103.9 kB / 0.4944 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.201, allocations: 4 kB / 0.4944 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.2011, allocations: 15.98 kB / 0.4944 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.2011, allocations: 4 kB / 0.4944 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2011, allocations: 4.062 kB / 0.4944 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.2032, allocations: 1.175 MB / 0.4955 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.2035, allocations: 192.2 kB / 0.4957 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.733e-05/0.2036, allocations: 12 kB / 0.4957 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/0.2041, allocations: 51.94 kB / 0.4958 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.2043, allocations: 39.94 kB / 0.4958 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.2044, allocations: 16 kB / 0.4958 GB, free: 8.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007299/0.2051, allocations: 459 kB / 0.4963 GB, free: 8.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2051, allocations: 0 / 0.4963 GB, free: 8.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009255/0.206, allocations: 220 kB / 0.4965 GB, free: 8.125 MB / 382.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.002786/0.2088, allocations: 1.763 MB / 0.4982 GB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.2112, allocations: 1.024 MB / 0.4992 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2113, allocations: 0 / 0.4992 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006782/0.2119, allocations: 291.9 kB / 0.4995 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.2131, allocations: 188.7 kB / 0.4997 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2545/0.4676, allocations: 6.997 MB / 0.5065 GB, free: 40.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.4681, allocations: 0.9487 MB / 0.5074 GB, free: 39.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006309/0.4687, allocations: 149.1 kB / 0.5076 GB, free: 39.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.4691, allocations: 263.5 kB / 0.5078 GB, free: 39.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4691, allocations: 0 / 0.5078 GB, free: 39.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2904/0.7595, allocations: 15.36 MB / 0.5228 GB, free: 34.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.803, allocations: 13.28 kB / 0.5228 GB, free: 34.77 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)