Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_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.001191/0.001191, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 79.58 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1133, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004585/0.1179, allocations: 3.383 MB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.121, allocations: 1.594 MB / 485.1 MB, free: 168 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005126/0.1215, allocations: 19.88 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.1221, allocations: 146.7 kB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007463/0.1229, allocations: 193.8 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.1244, allocations: 0.5377 MB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.1257, allocations: 0.9318 MB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004997/0.1262, allocations: 242.3 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006658/0.1268, allocations: 366.5 kB / 487.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006577/0.1275, allocations: 414.1 kB / 487.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.1277, allocations: 64 kB / 488 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.1281, allocations: 183.7 kB / 488.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.1284, allocations: 199.3 kB / 488.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003574/0.1287, allocations: 345.8 kB / 488.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000948/0.1297, allocations: 0.876 MB / 489.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1297, allocations: 0 / 489.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1297, allocations: 0 / 489.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.745e-05/0.1297, allocations: 0 / 489.6 MB, free: 11.67 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.002649/0.1324, allocations: 1.172 MB / 490.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1324, allocations: 17.11 kB / 490.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.992e-05/0.1325, allocations: 78.72 kB / 490.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.1328, allocations: 103.8 kB / 490.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008699/0.1337, allocations: 0.5507 MB / 491.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.1337, allocations: 41.36 kB / 491.5 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.1339, allocations: 60.28 kB / 491.6 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.135, allocations: 0.6222 MB / 492.2 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.135, allocations: 4 kB / 492.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.1351, allocations: 20 kB / 492.2 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.1351, allocations: 12 kB / 492.2 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1362, allocations: 465.8 kB / 492.7 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003593/0.1398, allocations: 2.647 MB / 495.3 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.1408, allocations: 0.5118 MB / 495.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005687/0.1414, allocations: 258.9 kB / 496.1 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.1415, allocations: 12.22 kB / 496.1 MB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.1415, allocations: 38.8 kB / 496.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.585e-06/0.1415, allocations: 0 / 496.2 MB, free: 4.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002645/0.1442, allocations: 1.15 MB / 497.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1443, allocations: 162.3 kB / 497.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009922/0.1453, allocations: 0.6567 MB / 498.1 MB, free: 2.758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.1453, allocations: 33.7 kB / 498.2 MB, free: 2.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.1457, allocations: 364.7 kB / 498.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.1459, allocations: 177.4 kB / 498.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.1461, allocations: 114.3 kB / 498.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1462, allocations: 337.9 kB / 499.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006737/0.1469, allocations: 283.2 kB / 499.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007787/0.1477, allocations: 449.2 kB / 499.8 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.1491, allocations: 0.7142 MB / 0.4888 GB, free: 172 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1491, allocations: 0 / 0.4888 GB, free: 172 kB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001842/0.1509, allocations: 0.8201 MB / 0.4896 GB, free: 15.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.151, allocations: 10.17 kB / 0.4896 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.151, allocations: 4 kB / 0.4896 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.151, allocations: 8 kB / 0.4897 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.1519, allocations: 200.2 kB / 0.4898 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.152, allocations: 12 kB / 0.4899 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/0.1526, allocations: 83.56 kB / 0.4899 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.1526, allocations: 24 kB / 0.49 GB, free: 15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007909/0.1534, allocations: 425.2 kB / 0.4904 GB, free: 14.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000701/0.1541, allocations: 429.2 kB / 0.4908 GB, free: 14.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001244/0.1554, allocations: 0.6973 MB / 0.4915 GB, free: 13.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.1554, allocations: 4 kB / 0.4915 GB, free: 13.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.00158/0.157, allocations: 0.7994 MB / 0.4922 GB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.157, allocations: 8.562 kB / 0.4922 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.157, allocations: 8 kB / 0.4923 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1571, allocations: 8 kB / 0.4923 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008567/0.1579, allocations: 191.8 kB / 0.4924 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.158, allocations: 15.88 kB / 0.4925 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.1585, allocations: 83.47 kB / 0.4925 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.1586, allocations: 31.91 kB / 0.4926 GB, free: 12.2 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.0002046/0.1588, allocations: 212.1 kB / 0.4928 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.159, allocations: 71.16 kB / 0.4928 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.1592, allocations: 94.89 kB / 0.4929 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1592, allocations: 7.938 kB / 0.4929 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.1592, allocations: 4 kB / 0.4929 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1592, allocations: 0 / 0.4929 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.1611, allocations: 1.271 MB / 0.4942 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1612, allocations: 0 / 0.4942 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/0.1618, allocations: 111.9 kB / 0.4943 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1619, allocations: 4 kB / 0.4943 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.1619, allocations: 15.98 kB / 0.4943 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1619, allocations: 7.938 kB / 0.4943 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1619, allocations: 3.938 kB / 0.4943 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.1639, allocations: 1.161 MB / 0.4955 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.1642, allocations: 196.2 kB / 0.4956 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.1643, allocations: 16.09 kB / 0.4957 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.1648, allocations: 51.94 kB / 0.4957 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.1649, allocations: 47.86 kB / 0.4957 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.165, allocations: 16 kB / 0.4958 GB, free: 8.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006289/0.1656, allocations: 455 kB / 0.4962 GB, free: 8.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1656, allocations: 4 kB / 0.4962 GB, free: 8.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008536/0.1665, allocations: 220 kB / 0.4964 GB, free: 8.141 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.00252/0.169, allocations: 1.749 MB / 0.4981 GB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.1713, allocations: 1.02 MB / 0.4991 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.1713, allocations: 0 / 0.4991 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.172, allocations: 302.1 kB / 0.4994 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.173, allocations: 190.9 kB / 0.4996 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2009/0.3739, allocations: 6.99 MB / 0.5064 GB, free: 39.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.3745, allocations: 0.9554 MB / 0.5073 GB, free: 39.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006027/0.3751, allocations: 154.3 kB / 0.5075 GB, free: 39.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.3754, allocations: 261.3 kB / 0.5077 GB, free: 39.25 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3754, allocations: 0 / 0.5077 GB, free: 39.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03816/0.4136, allocations: 15.36 MB / 0.5227 GB, free: 34.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.203, allocations: 5.484 kB / 0.5227 GB, free: 34.71 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)